sp_remove_article procedure
Purpose Toremove an article from a publication
Syntax sp_remove_articlepublication_name,
table_name
Argument Description
publication_name
Thename of the publication from which the article is
tobe deleted.
table_name
Thetable containing the article.
Seealso “sp_add_articleprocedure” on page 381
“ALTERPUBLICATIONstatement” [ASA SQL Reference, page 280]
Description Running sp_add_article removesan article from a publication. Anyarticle
includingparts of the named table is removed from the publication.
Example Thefollowing statement removes any articles that use part of the
SalesReptable from a publication named SalesRepData:
sp_remove_article SalesRepData, SalesRep
go
428