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.
EXCHANGE query is supported by the Atomic database engine only.
EXCHANGE TABLES|DICTIONARIES [db0.]name_A AND [db1.]name_B
Exchanges the names of two tables.
EXCHANGE TABLES [db0.]table_A AND [db1.]table_B
Exchanges the names of two dictionaries.
EXCHANGE DICTIONARIES [db0.]dict_A AND [db1.]dict_B