forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
4.7 KiB
4.7 KiB
DROP ROW LEVEL SECURITY POLICY
Function
DROP ROW LEVEL SECURITY POLICY deletes a row-level access control policy from a table.
Precautions
Only the table owner or administrators can delete a row-level access control policy from the table.
Syntax
1 | DROP [ ROW LEVEL SECURITY ] POLICY [ IF EXISTS ] policy_name ON table_name [ CASCADE | RESTRICT ] |
Parameter Description
- IF EXISTS
Reports a notice instead of an error if the specified row-level access control policy does not exist.
- policy_nameSpecifies the name of a row-level access control policy to be deleted.
Examples
Delete the row-level access control policy.
DROP ROW LEVEL SECURITY POLICY all_data_rls ON all_data;
Parent topic: DDL Syntax