ClickHouse/docs/en/sql-reference/statements/alter/row-policy.md
2022-04-09 07:34:21 -06:00

493 B

sidebar_position sidebar_label
47 ROW POLICY

ALTER ROW POLICY

Changes row policy.

Syntax:

ALTER [ROW] POLICY [IF EXISTS] name1 [ON CLUSTER cluster_name1] ON [database1.]table1 [RENAME TO new_name1]
        [, name2 [ON CLUSTER cluster_name2] ON [database2.]table2 [RENAME TO new_name2] ...]
    [AS {PERMISSIVE | RESTRICTIVE}]
    [FOR SELECT]
    [USING {condition | NONE}][,...]
    [TO {role [,...] | ALL | ALL EXCEPT role [,...]}]