Disable Compare DDL for Selected Tables | Teradata Data Mover - Disabling Compare DDL for Selected Tables - Teradata Data Mover

Teradata® Data Mover User Guide

Product
Teradata Data Mover
Release Number
17.12
Published
January 2022
Language
English (United States)
Last Update
2022-01-18
dita:mapPath
ptl1635805434108.ditamap
dita:ditavalPath
mpm1591127278842.ditaval
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>