Drops a publication and all of its articles, and optionally drops the replication definitions for the articles.
drop publication pubs2_pub with primary at TOKYO_DS.pubs2
drop publication pubs2_pub with primary at TOKYO_DS.pubs2 drop_repdef
Use drop publication to remove a publication. Execute drop publication at the Replication Server that manages the database where the primary data is stored.
You can drop a publication if there are no subscriptions for the publication. Drop subscriptions first, as necessary.
When you drop a publication, its articles are also dropped. Optionally, you can also drop all of the replication definitions for the publication’s articles, if they are not part of any other article and have no subscriptions.
A dropped publication is removed from a replicate site when define/create subscription or check publication is executed there for the publication.