mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 18:32:29 +00:00
18 lines
400 B
Markdown
18 lines
400 B
Markdown
---
|
|
slug: /en/sql-reference/statements/alter/role
|
|
sidebar_position: 46
|
|
sidebar_label: ROLE
|
|
---
|
|
|
|
## ALTER ROLE
|
|
|
|
Changes roles.
|
|
|
|
Syntax:
|
|
|
|
``` sql
|
|
ALTER ROLE [IF EXISTS] name1 [RENAME TO new_name |, name2 [,...]]
|
|
[ON CLUSTER cluster_name]
|
|
[SETTINGS variable [= value] [MIN [=] min_value] [MAX [=] max_value] [CONST|READONLY|WRITABLE|CHANGEABLE_IN_READONLY] | PROFILE 'profile_name'] [,...]
|
|
```
|