mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-16 20:53:27 +00:00
18 lines
485 B
Markdown
18 lines
485 B
Markdown
---
|
|
slug: /zh/sql-reference/statements/alter/role
|
|
sidebar_position: 46
|
|
sidebar_label: 角色
|
|
---
|
|
|
|
## 操作角色 {#alter-role-statement}
|
|
|
|
修改角色.
|
|
|
|
语法示例:
|
|
|
|
``` sql
|
|
ALTER ROLE [IF EXISTS] name1 [ON CLUSTER cluster_name1] [RENAME TO new_name1]
|
|
[, name2 [ON CLUSTER cluster_name2] [RENAME TO new_name2] ...]
|
|
[SETTINGS variable [= value] [MIN [=] min_value] [MAX [=] max_value] [CONST|READONLY|WRITABLE|CHANGEABLE_IN_READONLY] | PROFILE 'profile_name'] [,...]
|
|
```
|