XML Comparison Columns
lc6529
Posts: 30
When using an XML File, Is There A Way To Tell SQLDataCompare
Which Columns to use in the comparison?
I have two tables to compare and without getting into a lot of detail, I need to compare the non-indexed fields CUSTOMER and PARTNO
Which Columns to use in the comparison?
I have two tables to compare and without getting into a lot of detail, I need to compare the non-indexed fields CUSTOMER and PARTNO
Comments
To specify a comparison key that is is not an index, use the GUI to set up and save a project with the settings you require. You can then use that project from the command line with the /Project switch.
http://documentation.red-gate.com/displ ... mmand+line
For more information on using the GUI to set comparison keys, see Selecting the comparison key, under Selecting tables and views.
http://documentation.red-gate.com/displ ... parisonkey
Product Support
Red Gate Software
I used these switches
/Include:Missing /Include:Different /Include:Identical /Verbose /Sync
and my report file looks like this EACH time I run it.
Object type Name Records DB1 DB2
Table [dbo].[Orders] 4694 == ==
Table [dbo].[Orders] 20 <> <>
OK
Am I doing something wrong?
Product Support
Red Gate Software