Chapter 18. Command Referencefor Adaptive Server Enterprise
sp_drop_sql_remote procedure
Purpose Todrop the SQL Remote system objects from a database.
Syntax sp_drop_sql_remote
Seealso “sp_queue_dropprocedure” on page 414
Description Drops the SQL Remote system objects from the database, so that it can no
longerfunction in a SQL Remote installation.
Thesole SQL Remote object not removed is the sp_drop_sql_remote
procedureitself (a procedure cannot drop itself from a database). To
completeremoval of SQL Remote requires that sp_drop_sql_remote be
droppedexplicitly after it is called.
Thesp_drop_sql_remote procedure does not remove stable queue objects
fromthe database. Toremove the stable queue, use the “sp_queue_drop
procedure”on page 414.
Example Thefollowing statements remove SQL Remote system objects from a
database:
sp_drop_sql_remote_type
go
drop procedure sp_drop_sql_remote
go
389