One stop source knowing little things going around the world....
Monday, July 11, 2011
Rename stored procedure in SQLServer
Renaming stored procedure is done often by the developers.The below is the stored procedure:
Syntax:
sp_rename 'old stored procedure','new stored procedure'
Example:
EXEC sp_rename 'spGetEmpDetails', 'spGetEmployeeDetails';
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment