DROP-POLICY
DROP-POLICY
Name
DROP POLICY
Description
删除安全策略
行安全策略
语法:
- 删除行安全策略
DROP ROW POLICY test_row_policy_1 on table1 [FOR user| ROLE role];
- 删除存储策略
DROP STORAGE POLICY policy_name1
Example
-
删除 table1 的 test_row_policy_1
DROP ROW POLICY test_row_policy_1 on table1
-
删除 table1 作用于 test 的 test_row_policy_1 行安全策略
DROP ROW POLICY test_row_policy_1 on table1 for test
-
删除 table1 作用于 role1 的 test_row_policy_1 行安全策略
DROP ROW POLICY test_row_policy_1 on table1 for role role1
-
删除名字为policy_name1的存储策略
DROP STORAGE POLICY policy_name1
Keywords
DROP, POLICY