You can copy an individual table using the Data Mover command-line interface by specifying the value table selection="included" and the name of the table. For example, the XML below copies table1 and table3 as they specify the value table selection="included". The other table in the object list, table2, is not copied because the value is set to table selection="unselected".
<database selection="unselected"> <name>dmguest</name> <table selection="included"> <name>table1</name> </table> <table selection="unselected"> <name>table2</name> </table> <table selection="included"> <name>table3</name> </table> </database>
Usage Notes
- If the object being copied does not exist on the target database, it is created on the target database. If the object does exist on the target database, the object is overwritten – unless the overwrite_existing_objects property is set to false. In that case, a create time error is generated.
Tables can be copied between Teradata systems, as well as between a Teradata system and an Aster or a Hadoop system. Aster fact and dimension tables and Hadoop hive tables can be copied.