Disable Compare DDL for Selected Tables | Teradata Data Mover - Disabling Compare DDL for Selected 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
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>