2020-08-25 15:38:36 +00:00
|
|
|
---
|
|
|
|
toc_priority: 46
|
|
|
|
toc_title: ROLE
|
|
|
|
---
|
|
|
|
|
|
|
|
# ALTER ROLE {#alter-role-statement}
|
|
|
|
|
2021-01-26 22:40:14 +00:00
|
|
|
Изменяет роли.
|
2020-08-25 15:38:36 +00:00
|
|
|
|
2021-01-26 22:40:14 +00:00
|
|
|
Синтаксис:
|
2020-08-25 15:38:36 +00:00
|
|
|
|
|
|
|
``` sql
|
2021-01-26 22:40:14 +00:00
|
|
|
ALTER ROLE [IF EXISTS] name1 [ON CLUSTER cluster_name1] [RENAME TO new_name1]
|
|
|
|
[, name2 [ON CLUSTER cluster_name2] [RENAME TO new_name2] ...]
|
2020-08-25 15:38:36 +00:00
|
|
|
[SETTINGS variable [= value] [MIN [=] min_value] [MAX [=] max_value] [READONLY|WRITABLE] | PROFILE 'profile_name'] [,...]
|
|
|
|
```
|
|
|
|
|
2021-01-26 22:40:14 +00:00
|
|
|
[Оригинальная статья](https://clickhouse.tech/docs/ru/sql-reference/alter/role/) <!--hide-->
|