Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
删除发布。
DROP PUBLICATION [ IF EXISTS ] [ owner.]publication-name
owner, publication-name : identifier
此语句仅适用于 MobiLink 和 SQL Remote。
在 MobiLink 中,发布可以标识 SQL Anywhere 远程数据库中的同步数据。在 SQL Remote 中,发布可以标识统一数据库和远程数据库中的复制数据。
如果您不希望在 DROP PUBLICATION 语句试图删除不存在的发布时返回错误,请使用 IF EXISTS 子句。
DROP PUBLICATION 要求对发布中引用的所有表具有独占访问权限。
您必须是发布的所有者,或者具有 SYS_REPLICATION_ADMIN_ROLE 系统角色。
自动提交。删除发布的所有预订。
SQL/2008 服务商扩充。
下面的语句删除 pub_contact 发布。
DROP PUBLICATION pub_contact;