How can we help you today? How can we help you today?

New Table columns not being added in the correct order.

I tried to search fot this, but could not find any reference.

Basically, when adding a new column to a table (in the middle somewhere), when SQL Compare updates a DB (from scripts), it adds the column to the end of the table.

The scripts being generated (create scripts) are correct.

Is there a way to make this works seeing as this is fairly common during our dev cycle.
benlevy
0

Comments

1 comment

  • Eddie D
    Thank you for your post into the forum.

    Have you tried editing your SQL Compare project and enabling the option to 'Force column order'?

    When this option is enabled, if additional columns are inserted into the middle of the table, this option forces a rebuild of the table so the column order is correct following synchronization. Data held in the table is preverved.

    Many Thanks
    Eddie
    Eddie D
    0

Add comment

Please sign in to leave a comment.