mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 19:32:07 +00:00
21 lines
534 B
Markdown
21 lines
534 B
Markdown
|
---
|
||
|
slug: /ja/sql-reference/statements/alter/row-policy
|
||
|
sidebar_position: 47
|
||
|
sidebar_label: ROW POLICY
|
||
|
---
|
||
|
|
||
|
# ALTER ROW POLICY
|
||
|
|
||
|
行ポリシーを変更します。
|
||
|
|
||
|
構文:
|
||
|
|
||
|
``` sql
|
||
|
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 [,...]}]
|
||
|
```
|