Copy Tables | Teradata Data Mover - About Copying Tables - Teradata Data Mover

Teradata® Data Mover User Guide

Product
Teradata Data Mover
Release Number
17.20
Published
September 2022
Language
English (United States)
Last Update
2022-09-26
dita:mapPath
tsn1650877444606.ditamap
dita:ditavalPath
mpm1591127278842.ditaval
dita:id
B035-4101
lifecycle
previous
Product Category
Analytical Ecosystem
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.