Version: 7.0.0

DROP PUBLICATION ​

Function Description ​

DROP PUBLICATION deletes an existing publication from a database.

Precautions ​

A publication can be deleted only by its owner or the system administrator.

Syntax ​

DROP PUBLICATION [ IF EXISTS ] name [ CASCADE | RESTRICT ]

Parameter Description ​

  • IF EXISTS

    Does not throw an error if a publication does not exist, but instead reports a notice.

  • name

    Specifies the name of an existing publication.

  • CASCADE|RESTRICT

    Currently, these keywords do not work because there is no dependency on publications.

Example ​

For details, see Example.

ALTER PUBLICATION, CREATE PUBLICATION