Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Drops a publication.
DROP PUBLICATION [ IF EXISTS ] [ owner.]publication-name
owner, publication-name : identifier
This statement is applicable only to MobiLink and SQL Remote.
In MobiLink, a publication identifies synchronized data in a SQL Anywhere remote database. In SQL Remote, publications identify
replicated data in both consolidated and remote databases.
Use the IF EXISTS clause if you do not want an error returned when the DROP PUBLICATION statement attempts to remove a publication
that does not exist.
DROP PUBLICATION requires exclusive access to all tables referred to in the publication.
You must be the owner of the publication, or have the SYS_REPLICATION_ADMIN_ROLE system role.
Automatic commit. All subscriptions to the publication are dropped.
The following statement drops the pub_contact publication.
DROP PUBLICATION pub_contact;