MIGRATE TABLE INTO
Description
MIGRATE TABLE INTO syntax is used to migrate table from source to target
Syntax
MigrateTableInto ::=
'MIGRATE' 'TABLE' migrationSource '.' tableName 'INTO' (databaseName '.')? tableName
migrationSource ::=
identifier
databaseName ::=
identifier
tableName ::=
identifierSupplement
- When
databaseNameis not specified, the default is the currently usedDATABASE. IfDATABASEis not used,No database selectedwill be prompted.
Example
- Migrate table from source to current database
MIGRATE TABLE ds_0.t_order INTO t_order;- Migrate table from source to specified database
UNREGISTER MIGRATION SOURCE STORAGE UNIT ds_1, ds_2;Reserved word
MIGRATE, TABLE, INTO