mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 13:13:36 +00:00
21 lines
598 B
Markdown
21 lines
598 B
Markdown
|
---
|
||
|
toc_priority: 47
|
||
|
toc_title: ROW POLICY
|
||
|
---
|
||
|
|
||
|
# ALTER ROW POLICY {#alter-row-policy-statement}
|
||
|
|
||
|
Изменяет политику доступа к строкам.
|
||
|
|
||
|
## Синтаксис {#alter-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 [,...]}]
|
||
|
```
|
||
|
|
||
|
[Оригинальная статья](https://clickhouse.tech/docs/ru/query_language/alter/row-policy/) <!--hide-->
|