sp_queue_drop procedure
Purpose Todrop the stable queue objects from a database.
Syntax sp_queue_drop
Seealso “sp_drop_sql_remoteprocedure” on page 389
Description Drops the stable queue system objects from the database, so that the
databaseno longer supports a SQL Remote stable queue.
Thesole stable queue object not removed is the sp_queue_drop procedure
itself(a procedure cannot drop itself from a database). Tocomplete removal
ofthe stable queue requires that sp_queue_drop be dropped explicitly after
itis called.
Thesp_queue_drop procedure does not remove SQL Remote system
objectsfrom the database. Toremove the SQL Remote system objects, use
the“sp_drop_sql_remote procedure” on page 389.
Examples Thefollowing statements remove the stable queue objects from the
database:
sp_queue_drop
go
drop procedure sp_queue_drop
go
414