Data preservation revisited
slag
Posts: 2
If a column has been inserted, the option 'force column order to be identical' will indicate to SQLCompare to Rebuild a table instead of Altering It.
Else than that, in what other circumstances would SQLCompare Rebuild a table?
Thanks
Else than that, in what other circumstances would SQLCompare Rebuild a table?
Thanks
- Stephane Lagace
This discussion has been closed.
Comments
Changing an IDENTITY column will do it, for one. You can see this in the WidgetProduction and WidgetStaging examples in the SQL Compare help file. Otherwise I don't have a complete set of circumstances handy.
SQL Compare rebuilds a table when:
You can ignore filegroups by selecting the Ignore file groups comparison option. By default, filegroups are ignored.
For example, this warning is displayed if a column is to be changed from data type text to varchar.
For example, this warning is displayed if a column is an identity in one database but not in the other.
For example, this warning is displayed if the seed has changed.
This warning is displayed only if Force table column order to be identical is selected in your Comparison Options and the order of columns in a table has changed. To ignore column order, clear the option.
If the table contains data, the synchronization script will not work. To avoid this, add a default to the column in the source database, or set it to allow NULL values.