Once you create a procedure, it remains in the database until someone explicitly removes it. Only the owner of the procedure or a user with DBA authority can drop the procedure from the database.
To delete a procedure (Sybase Central)
Connect to the database as a DBA user or as the owner of the procedure.
In the left pane, double-click Procedures & Functions.
Select the procedure and choose Edit » Delete.
To delete a procedure (SQL)
Connect to a database as a user with DBA authority or as the owner of the procedure.
Execute a DROP PROCEDURE statement.
The following statement removes the procedure NewDepartment from the database:
DROP PROCEDURE NewDepartment;
|Send feedback about this page via email or DocCommentXchange||Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0|