mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
561 B
561 B
slug | sidebar_position | sidebar_label |
---|---|---|
/en/sql-reference/statements/move | 54 | MOVE |
MOVE access entity statement
This statement allows to move an access entity from one access storage to another.
Syntax:
MOVE {USER, ROLE, QUOTA, SETTINGS PROFILE, ROW POLICY} name1 [, name2, ...] TO access_storage_type
Currently, there are five access storages in ClickHouse:
local_directory
memory
replicated
users_xml
(ro)ldap
(ro)
Examples:
MOVE USER test TO local_directory
MOVE ROLE test TO memory