mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
904 B
904 B
sidebar_position, sidebar_label
| sidebar_position | sidebar_label |
|---|---|
| 49 | EXCHANGE |
EXCHANGE Statement
Exchanges the names of two tables or dictionaries atomically. This task can also be accomplished with a RENAME query using a temporary name, but the operation is not atomic in that case.
:::note
The EXCHANGE query is supported by the Atomic database engine only.
:::
Syntax
EXCHANGE TABLES|DICTIONARIES [db0.]name_A AND [db1.]name_B [ON CLUSTER cluster]
EXCHANGE TABLES
Exchanges the names of two tables.
Syntax
EXCHANGE TABLES [db0.]table_A AND [db1.]table_B [ON CLUSTER cluster]
EXCHANGE DICTIONARIES
Exchanges the names of two dictionaries.
Syntax
EXCHANGE DICTIONARIES [db0.]dict_A AND [db1.]dict_B [ON CLUSTER cluster]
See Also