Removing ESPs  Executing ESPs

Chapter 17: Using Extended Stored Procedures

Renaming ESPs

Because an ESP name is bound to the name of its function, you cannot rename an ESP using sp_rename, as you can with a stored procedure. To change the name of an ESP:

  1. Remove the ESP with drop procedure or sp_dropextendedproc.

  2. Rename and recompile the supporting function.

  3. Re-create the ESP with the new name using create procedure or sp_addextendedproc.





Copyright © 2005. Sybase Inc. All rights reserved. Executing ESPs

View this book as PDF