SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Data Comparison


Data Comparison

Author
Message
Shriji
Shriji
SSC-Enthusiastic
SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)

Group: General Forum Members
Points: 133 Visits: 318
Hi,

I am about to write a custom SQL solution for data comparison between two data sources - old one is the existing production and new one with new changes. I am tasked to do the data comparison between the two. Here is some of the facts why I think I need to write custom solution:

1. Table name is different for some of the tables but column names are same
2. Table name is same but columns names are diff
3. Table name and column name is same but data type is different
4. table name, column name, and data type is different is different

We have SQL Data Compare tool which is awesome but if data type is different it cannot compare the data. So this is not an option.

What are my other options here? How about your experience?

Thanks
davros30
davros30
SSC Rookie
SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)

Group: General Forum Members
Points: 33 Visits: 12
I realise this is an old post, but if anyone is having a similar problem then I have developed a software tool that will perform most of these data comparisons.
SQLC is currently in beta version for free download and evaluation. It will allow you to compare two tables in different databases where the structure is not identical. You have the option to omit columns from the comparison on either side if, for example an extra column exists on one side you can ignore it.
It also lets you compare two views or a table against a view. So if one table has datatypes different to the other then you just need to create a view over one table which converts the datatypes to be the same as the other table.
SQLC is available for free download here http://sqlc.azurewebsites.net/
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search