forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
3.4 KiB
3.4 KiB
DROP SUBSCRIPTION
Function
Deletes a subscription.
Precautions
- This statement is supported by clusters of version 8.2.0.100 or later.
- A subscription can be deleted by the system administrator only.
Syntax
1 | DROP SUBSCRIPTION [ IF EXISTS ] name |
Parameter Description
- 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.
Value range: an existing subscription
Examples
Delete a subscription.
DROP SUBSCRIPTION mysub;
Helpful Links
Parent topic: DDL Syntax