mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 11:33:46 +00:00
17 lines
323 B
Markdown
17 lines
323 B
Markdown
|
---
|
||
|
toc_priority: 46
|
||
|
toc_title: ROLE
|
||
|
---
|
||
|
|
||
|
## ALTER ROLE {#alter-role-statement}
|
||
|
|
||
|
Changes roles.
|
||
|
|
||
|
Syntax:
|
||
|
|
||
|
``` sql
|
||
|
ALTER ROLE [IF EXISTS] name [ON CLUSTER cluster_name]
|
||
|
[RENAME TO new_name]
|
||
|
[SETTINGS variable [= value] [MIN [=] min_value] [MAX [=] max_value] [READONLY|WRITABLE] | PROFILE 'profile_name'] [,...]
|
||
|
```
|