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

Teradata® Data Mover User Guide

Product
Teradata Data Mover
Release Number
17.00
Published
November 30, 2021
Language
English (United States)
Last Update
2021-11-04
dita:mapPath
gmn1574692806523.ditamap
dita:ditavalPath
cjo1509024828169.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. 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 a Hadoop system.Hadoop hive tables can be copied.