ClickHouse/docs/zh/sql-reference/statements/alter/role.md
2022-09-09 14:01:29 +02:00

485 B

slug sidebar_position sidebar_label
/zh/sql-reference/statements/alter/role 46 角色

操作角色

修改角色.

语法示例:

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] [CONST|READONLY|WRITABLE|CHANGEABLE_IN_READONLY] | PROFILE 'profile_name'] [,...]