mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-19 04:42:37 +00:00
17 lines
377 B
Markdown
17 lines
377 B
Markdown
---
|
|
sidebar_position: 46
|
|
sidebar_label: ROLE
|
|
---
|
|
|
|
## ALTER ROLE
|
|
|
|
Changes roles.
|
|
|
|
Syntax:
|
|
|
|
``` 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] [READONLY|WRITABLE] | PROFILE 'profile_name'] [,...]
|
|
```
|