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

Teradata® Data Mover User Guide - 20.01

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Data Mover
Release Number
20.01
Published
November 2023
Language
English (United States)
Last Update
2023-12-05
dita:mapPath
hlv1700545853003.ditamap
dita:ditavalPath
mpm1591127278842.ditaval
dita:id
don1467241476387
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.