I have a stored procedure which I edit through Visual Studio 2008. Is there a simple way to change the name of the stored procedure? Right now if I look at the sproc's properties, the name of the sproc is grayed out.
EXEC sp_rename OLDNAME, NEWNAME
This is assuming you can execute SQL statements via VS2008.
If you have SSMS, you can right-click on the procedure name and choose rename.
The other option is to drop the procedure and recreate it with the new name.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With