Drops a distribution database. Drops the physical files used by the database if they are not used by another database.
sp_dropdistributiondb [@database =] 'database'
0 (success) or 1 (failure)
sp_dropdistributiondb is used in all types of replication.
Only members of the sysadmin fixed server role can execute sp_dropdistributiondb.
sp_adddistributiondb | sp_helpdistributiondb |
sp_changedistributiondb | System Stored Procedures |