Tables are compared, don't matching include switch
DanielL
Posts: 2 New member
i try to achieve synchronizing only 1 table, especially only adding new entries to the destination
i am using command line SQLDataCompare.exe with an argfile:
<?xml version="1.0"?>
<commandline>
<server1>Server1</server1>
<database1>Logging</database1>
<server2>Server2</server2>
<database2>Logging</database2>
<include>Table:[Applications]</include>
<synchronize/>
</commandline>
but other tables are also compared and synchronized. WHY???
i am using command line SQLDataCompare.exe with an argfile:
<?xml version="1.0"?>
<commandline>
<server1>Server1</server1>
<database1>Logging</database1>
<server2>Server2</server2>
<database2>Logging</database2>
<include>Table:[Applications]</include>
<synchronize/>
</commandline>
but other tables are also compared and synchronized. WHY???
Tagged:
Answers
https://documentation.red-gate.com/display/SDC13/Using+XML+to+specify+command+line+arguments
Redgate Software
The solution was to escape the square brackets.
<include>Table:\[Common\]\.\[Applications\]</include>
Redgate Software