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.
Syntax
EXCHANGE TABLES
Exchanges the names of two tables.
Syntax
EXCHANGE MULTIPLE TABLES
You can exchange multiple table pairs in a single query by separating them with commas.
Note
When exchanging multiple table pairs, the exchanges are performed sequentially, not atomically. If an error occurs during the operation, some table pairs may have been exchanged while others have not.
Example
EXCHANGE DICTIONARIES
Exchanges the names of two dictionaries.
Syntax
See Also