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

Teradata® Data Mover User Guide

Product
Teradata Data Mover
Release Number
17.10
Release Date
June 2021
Content Type
User Guide
Publication ID
B035-4101-061K
Language
English (United States)
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>