mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
ffe2cecb1b
* initial split * initial adjust links * make en buildable * re-normalize
20 lines
391 B
Markdown
20 lines
391 B
Markdown
---
|
|
toc_priority: 47
|
|
toc_title: ROW POLICY
|
|
---
|
|
|
|
# ALTER ROW POLICY {#alter-row-policy-statement}
|
|
|
|
Changes row policy.
|
|
|
|
Syntax:
|
|
|
|
``` sql
|
|
ALTER [ROW] POLICY [IF EXISTS] name [ON CLUSTER cluster_name] ON [database.]table
|
|
[RENAME TO new_name]
|
|
[AS {PERMISSIVE | RESTRICTIVE}]
|
|
[FOR SELECT]
|
|
[USING {condition | NONE}][,...]
|
|
[TO {role [,...] | ALL | ALL EXCEPT role [,...]}]
|
|
```
|