Tutorials
Resources
Forum
Communities
Interview
Jobs
Projects
Offshore Development
Silverlight Tutorials
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Revenue Sharing
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Murali
(50)
Abraham Kuriak...
(28)
Deepika Harida...
(26)
Last 7 Days
Deepika Harida...
(1175)
Pradeep Y
(997)
amarababu nara...
(961)
more...
New Feature:
Community Sites
:
Create your own .NET community website and start earning from Google AdSense !
It's Free !
How to delete or change a stored procedure?
Posted Date: 23 Sep 2008 Resource Type:
Articles
Category:
Databases
Posted By:
Shashi
Member Level:
Gold
Rating:
Points
: 5
How to delete or change a stored procedure?
You use DROP PROC statement to delete one or more stored procedures from database. To redefine the stored procedure you use ALTER PROC.
The syntax of the DROP PROC statement
DROP {PROC|PROCEDURE} Procedure_name [, …]
The syntax of the ALTER PROC statement
ALTER {PROC|PROCEDURE} Procedure_name
[Parameter_declaration]
[WITH {RECOMPILE|ENCRYPTION|RECOMPILE, ENCRYPTION}]
AS sql_statements
When you delete a procedure any security permission that are assigned to the procedure are also deleted. In that case you will want to use the ALTER PROC statement to modify the procedure and preserve permissions.
In this section I will take you to the types of stored procedures with some examples.
Responses
No responses found. Be the first to respond and make money from
revenue sharing program
.
Feedbacks
Popular Tags
What are tags ?
Search Tags
Sign In
How to delete or change a stored procedure?
.
Post Feedback
This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must
Sign In
to post a response.
Next Resource:
Handling error in stored procedure
Previous Resource:
Types of stored procedures
Return to Discussion Resource Index
Post New Resource
Category:
Databases
Post resources and
earn money
!
Related Resources
Working with 2 databases
Database Constraints Part 1
How to use join in update statement
Useful Stored procedures in SQL Server Part 2
SQL Questions 3
dotNet Slackers
BizTalk Adaptors
Web Design
email fax service
Contact Us
Privacy Policy
Terms Of Use