Disabling Compare DDL for Selected Tables - Teradata Data Mover

Teradata Data Mover User Guide

Product
Teradata Data Mover
Release Number
16.10
Published
June 2017
Language
English (United States)
Last Update
2018-03-29
dita:mapPath
kmo1482331935137.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-4101
lifecycle
previous
Product Category
Analytical Ecosystem
Data Mover does not automatically compare DDL tables when copying the entire database. You can enable DDL comparison for database tables being completely or partially copied or renamed, while excluding DDL comparison for certain tables.
  1. Add the compare_ddl element.
  2. Specify true as the element value at the database level.
  3. Add the selection="included" attribute to a table element and specify the table name.
  4. For the table to be excluded, add the compare_ddl element and specify false as the element value.
In the following example, compare DDL is performed on tables in the MyDB database. However, compare DDL is not performed for the MyDB.PPIOrders table.
<database selection="all"> 
	<name>MyDB</name>
  <compare_ddl>true</compare_ddl>
   <table selection="included">
   <name>PPIOrders</name>
  <compare_ddl>false</compare_ddl>
  </table>
</database>
In the following example, compare DDL is performed on tables in the MyDB database and the MyDB.PPIOrders table is renamed to MyDB.PPIOrders_NewName on the target. Compare DDL is not performed for the MyDB.PPIOrders_NewName table.
<database selection="all"> 
	<name>MyDB</name>
  <compare_ddl>true</compare_ddl>
   <table selection="included">
   <name>PPIOrders</name>
   <target_name>PPIOrders_NewName</target_name>
  <compare_ddl>false</compare_ddl>
  </table>
</database>