Drop Associated Replication Definitions

To drop replication definitions associated with the publication, include the drop_repdef clause when you execute drop publication.

Replication Server drops all replication definitions associated with the publication that are not referenced by other publications or subscriptions.

For example, to drop all replication definitions associated with pubs2_pub, enter:
drop publication pubs2_pub
    with primary at TOKYO_DS.pubs2
    drop_repdef