Drops a synchronization subscription in a remote database.
DROP SYNCHRONIZATION SUBSCRIPTION {subscription-name | TO publication-name [ FOR ml-username, ... ]}
subscription-name Specifies the name of the subscription to drop.
TO clause Specify the name of a publication.
FOR clause Specify one more users.
Omitting this clause drops the default settings for the publication.
Must have DBA authority. Requires exclusive access to all tables referred to in the publication.
Automatic commit.
SQL/2008 Vendor extension.
The following example drops the subscription named mysub:
DROP SYNCHRONIZATION SUBSCRIPTION mysub;
The following example drops the subscription between the user ml_user1 and the publication called sales_publication:
DROP SYNCHRONIZATION SUBSCRIPTION TO sales_publication FOR "ml_user1";
The following example omits the FOR clause, and so drops the default settings for the publication called sales_publication:
DROP SYNCHRONIZATION SUBSCRIPTION TO sales_publication;