2020-08-25 15:38:36 +00:00
|
|
|
---
|
2022-08-26 17:37:11 +00:00
|
|
|
slug: /ru/sql-reference/statements/alter/role
|
2022-04-09 13:29:05 +00:00
|
|
|
sidebar_position: 46
|
|
|
|
sidebar_label: ROLE
|
2020-08-25 15:38:36 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
# 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-07-29 15:20:55 +00:00
|
|
|
ALTER ROLE [IF EXISTS] name1 [ON CLUSTER cluster_name1] [RENAME TO new_name1]
|
2021-01-26 22:40:14 +00:00
|
|
|
[, name2 [ON CLUSTER cluster_name2] [RENAME TO new_name2] ...]
|
2022-09-09 12:01:11 +00:00
|
|
|
[SETTINGS variable [= value] [MIN [=] min_value] [MAX [=] max_value] [CONST|READONLY|WRITABLE|CHANGEABLE_IN_READONLY] | PROFILE 'profile_name'] [,...]
|
2020-08-25 15:38:36 +00:00
|
|
|
```
|
|
|
|
|