ClickHouse/docs/zh/sql-reference/statements/alter/role.md

393 B

toc_priority toc_title
46 ROLE

ALTER ROLE

Changes roles.

Syntax:

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