Updated on 2025-10-10 GMT+08:00

DROP SUBSCRIPTION

Function

DROP SUBSCRIPTION deletes a subscription.

This syntax has been discarded in clusters of version 9.1.1.100 or later. If this syntax is executed, the error message "SUBSCRIPTION is not yet supported" will be displayed.

Precautions

A subscription can be deleted by the system administrator only.

Syntax

1
DROP SUBSCRIPTION [ IF EXISTS ] name

Parameter Description

Table 1 DROP SUBSCRIPTION parameters

Parameter

Description

Value Range

IF EXISTS

If the specified subscription does not exist, no error is thrown. Instead, a notification is reported indicating that the subscription does not exist.

-

name

Specifies the name of the subscription you want to delete.

An existing subscription.

Examples

Delete a subscription.
DROP SUBSCRIPTION mysub;