How to compare tables but exclude certain column(s)?
DrData
Posts: 7 Bronze 1
I have a few columns in a table that SHOULD have different values in Database A and Database B. I only want to see records that have a difference in columns OTHER than a few specified columns. To my surprise, I don't see a way to exclude columns in SQL Data Compare. Am I missing it, or do I have to compare this data manually with queries?
Best Answer
-
Kurt_M Posts: 201 Silver 1
Hi @DrData
The command line actually has more flexibility when it comes to filtering. I would suggest looking into the command line features if your license supports it.
You can find documentation about the command line here:
https://documentation.red-gate.com/sdc/using-the-command-line/examples-using-the-command-line
The specific options you would want to use are the following:
Kind regards,
Kurt McCormick
Product Support Engineer, RedgateNeed help? Take a look at our Help Center
Answers