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. In the XML example, table1 and table3 are copied as they specify the value table selection="included". Table2 in the objects list 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 systems supported by Data Mover.