Chapter 18. Command Referencefor Adaptive Server Enterprise
sp_drop_publication procedure
Purpose Todrop a publication from the database.
Syntax sp_drop_publicationpublication_name
Argument Description
publication_name
Thename of the publication to be dropped
Seealso “sp_create_publicationprocedure” on page 386
“DROPPUBLICATION statement” [ASA SQL Reference, page 459]
Description Running sp_drop_publicationdrops a publication from the database. All
articlesthat make up the publication, and subscriptions to the publication,
arealso dropped.
Example Thefollowing statement drops the publication named SalesRep:
sp_drop_publication ’SalesRep’
go
387