sp_rename stored procedure code example
Example: rename stored procedure in sql server
--Rename the stored procedure.
EXEC sp_rename 'OldName', 'NewName';
--Rename the stored procedure.
EXEC sp_rename 'OldName', 'NewName';