Drops a publication and its associated articles.
sp_droppublication [@publication =] 'publication'
[,[@ignore_distributor =] ignore_distributor]
0 (success) or 1 (failure)
sp_droppublication is used in snapshot and transactional replication.
sp_droppublication recursively drops all articles associated with a publication and then drops the publication itself. A publication cannot be removed if it has one or more subscriptions to it. The associated sync task is also dropped.
Only members of the sysadmin fixed server role or db_owner fixed database role can execute sp_droppublication.