Red Gate forums :: View topic - Strange failure of Data Compare
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Data Compare Previous Versions
SQL Data Compare Previous Versions forum

Strange failure of Data Compare

Search in SQL Data Compare Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
dbouchard@tricomputer.com



Joined: 11 Mar 2010
Posts: 6

PostPosted: Wed Nov 16, 2011 10:49 pm    Post subject: Strange failure of Data Compare Reply with quote

I often use SQL Data Compare and recently have been running into some strange results. I compare 2 dbs, select synchronization of the differences (which happen to be in float columns) and then when the rescan is done, it again shows the same columns as being different. I have a screenshot of what appears to me to be the exact same values in a particular field AFTER SDC did its synchronization thing and I can't ever seem to get the diff to go away. Thoughts???
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1116
Location: My desk.

PostPosted: Thu Nov 17, 2011 9:43 pm    Post subject: Reply with quote

Thanks for your post.

The float datatype does cause problems in Data Compare from time to time unfortunately. It can occur when the two db's return the data back with slightly different precisions.

You can try ticking the option to "force binary collation" as this will occasionally result in them being reported in a way that they match. Asides from that, the other option is to create a view in each DB that will cast/convert the floats down to a lesser number of decimal places, and then compare the views.
Unfortunately you often cannot then sync these back as we only sync views back to tables on a simple select as far as I know (i.e. not where you have any functions)

We have a couple of bugs logged in this area but as yet I don't know of a timescale to get them looked at.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group