Comparison options can be specified under the xml element <DataCompareOptions>.

The following xml fragment specifies two additional comparison option: GenerateDetailedLog

<?xml version="1.0" encoding="utf-8" ?>
<DataCompareCmdConfig xmlns="http://www.idera.com/oracle/schemas/datacompare/cmd.xsd">
  <LeftDatabase>
    <ConnectionName>Oracle Schema 1</ConnectionName>
    <ConnectionType>Basic</ConnectionType>
    <Username>HR</Username>
    <Password>********</Password>
    <Host>host-name-or-ip</Host>
    <Service>oracle-service-name</Service>
    <DatabaseSchema>HR</DatabaseSchema>
  </LeftDatabase>
  <RightDatabase>
    <ConnectionName>Oracle Schema 2</ConnectionName>
    <ConnectionType>Basic</ConnectionType>
    <Username>HR_TARGET</Username>
    <Password>********</Password>
    <Host>host-name-or-ip</Host>
    <Service>oracle-service-name</Service>
    <DatabaseSchema>HR_TARGET</DatabaseSchema>
  </RightDatabase>
  <DataCompareOptions>
    <GenerateDetailedLog>true</GenerateDetailedLog>
  </DataCompareOptions>
  <CommandLineOptions>
    <Direction>RightAsLeft</Direction>
    <Synchronize>true</Synchronize>
    <DataScriptFile>SyncScript.sql</DataScriptFile>
    <DataLogFile>SyncScript.log</DataLogFile>
    <ComparisonLogFile>Operational.txt</ComparisonLogFile>
    <ErrorLogName>Error.log</ErrorLogName>
  </CommandLineOptions>
</DataCompareCmdConfig>

For the full list of supported options, check Xml Reference.


IDERAProductsPurchase | Support | Community | Resources | About Us | Legal
  • No labels