mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-19 04:42:37 +00:00
97866c71b7
# Conflicts: # docs/en/sql-reference/statements/alter/role.md # docs/en/sql-reference/statements/alter/settings-profile.md # docs/ru/sql-reference/statements/alter/role.md # docs/ru/sql-reference/statements/alter/settings-profile.md # src/Access/SettingsProfileElement.cpp # src/Access/SettingsProfileElement.h # src/Interpreters/Context.cpp # src/Interpreters/Context.h # src/Parsers/Access/ASTCreateUserQuery.cpp # src/Parsers/Access/ParserCreateRoleQuery.cpp # src/Parsers/Access/ParserCreateSettingsProfileQuery.cpp # src/Parsers/Access/ParserCreateUserQuery.cpp # src/Parsers/Access/ParserSettingsProfileElement.cpp # tests/queries/0_stateless/01294_create_settings_profile.reference
581 B
581 B
slug | sidebar_position | sidebar_label |
---|---|---|
/en/sql-reference/statements/alter/role | 46 | ROLE |
ALTER ROLE
Changes roles.
Syntax:
ALTER ROLE [IF EXISTS] name1 [RENAME TO new_name |, name2 [,...]]
[ON CLUSTER cluster_name]
[ADD|MODIFY SETTINGS variable [= value] [MIN [=] min_value] [MAX [=] max_value] [CONST|READONLY|WRITABLE|CHANGEABLE_IN_READONLY] | PROFILE 'profile_name'] [,...]
[DROP SETTINGS variable [,...] ]
[ADD PROFILES 'profile_name' [,...] ]
[DROP PROFILES 'profile_name' [,...] ]
[DROP ALL PROFILES]
[DROP ALL SETTINGS]