How to disable a Distributor (Transact-SQL)
To disable a Distributor
Execute
sp_dropdistpublisher
to drop a Publisher that is also the Distributor.
Execute
sp_dropdistributiondb
to delete the distribution database.
Execute
sp_dropdistributor
to remove the Distributor designation from the server.
See Also
Disabling Publishing and Distribution
sp_dropdistributor
sp_dropdistpublisher
sp_dropdistributiondb
(c) 1988-98 Microsoft Corporation. All Rights Reserved.