Option "Force column order" not working

Compares and synchronizes SQL Server databases, backups and scripts.

Moderators: JonathanWatts, Chris Auckland, David Atkinson, eddie davis, Anu Deshpande, Michelle Taylor, alice.easey, james.billings, chengvoon.tong

Option "Force column order" not working

Postby rre » Tue Jul 10, 2012 12:47 pm

I am using the latest version of SQL Compare 10.2.0.777 and want to compare a database against a source control in particular a script folder.

When I look at the differences for the tables SQL Compare ignores the option "Force column order" which is disable.
I have a column in both tables but not in the same order. On the database side it's nearly on the end of the table and on the snapshot (script folder) it's completely on the end of the table.

What I make wrong that this option take no affect by SQL Compare?

Thanks, for any advice.
rre
 
Posts: 30
Joined: Thu Jul 07, 2011 2:13 pm

Postby james.billings » Thu Jul 12, 2012 3:45 pm

Thanks for your post- so, to confirm, you have NOT selected "force column order", and SQL Compare shows the table as different still, is that right?

If there are other differences, then the table will be seen as different, and because of the way the display works, it'll still show the column order being different too (other differences could be extended properties, index names etc etc).

If you can't spot the difference, then it may be that it's not visible, or there's perhaps something else strange going on, in which case, please email the file from the script folder and also the table definition from the database (script it out to a CREATE TO window) and send over to support@red-gate.com so we can look into it. If you do this, please quote F0062272 in the subject line.
james.billings
 
Posts: 1144
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.

Postby rre » Thu Jul 12, 2012 8:20 pm

Yes, I haven't selected the option "force column order".

Thanks, for your information about other differences on the object. Because, I had other differences on my object. I was confused why SQL Compare display me the wrong column order, too.
After resolving the other difference on my object SQL Compare didn't displayed the object again as a difference, although the column order is still not the same.

Thanks, for your advice.
rre
 
Posts: 30
Joined: Thu Jul 07, 2011 2:13 pm

Postby james.billings » Thu Jul 12, 2012 8:30 pm

Glad that's explained it!
james.billings
 
Posts: 1144
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.


Return to SQL Compare 10

Who is online

Users browsing this forum: No registered users and 0 guests