Uninstalling SQL Remote
Thissection describes how to uninstall the SQL Remote objects from a
database,and uninstall the stable queue from a database.
Touninstall the SQL Remote objects from a database
1. Connect to the database containing the SQL Remote objects, as a user
withdbo permissions.
2. Runthe sp_drop_sql_remote stored procedure to remove all
SQLRemote objects apart from the procedure itself. The
sp_drop_sql_remoteprocedure is installed along with the other
SQLRemote objects.
exec sp_drop_sql_remote
go
3. Dropthe sp_drop_sql_remoteprocedure to complete the uninstall
procedure.
drop procedure sp_drop_sql_remote
go
Touninstall the stable queue from a database
1. Connect to the database containing the stable queue, as a user with dbo
permissions.
2. Runthe sp_queue_drop stored procedure to remove all stable queue
objectsapart from the procedure itself. The sp_queue_drop procedure is
installedalong with the other stable queue objects.
exec sp_queue_drop
go
3. Dropthe sp_queue_dropprocedure itself, to complete the uninstall
procedure.
drop procedure sp_queue_drop
go
26