Closed kerwinc closed 8 months ago
What is the definition of the column you are adding?
[DateTimeValue2] DATETIME2 (2) NULL,
Just re-ordering the columns in the temporal table triggers a rebuild. IgnoreColumnOrder works fine for normal tables.
closing instead of transferring since a duplicate exists on dacfx repo
Hi Guys,
We are experiencing major issues managing temporal tables through SSDT. One major issue is that simple column changes are causing table rebuilds.
Problem
Adding columns to temporal tables are triggering table rebuilds which is a big problem for realtime systems or tables with lots of data. IgnoreColumnOrder=True does not work for temporal tables. I tried configuring the desired behaviour by using a publish profile and specifying the property directly ( /p:IgnoreColumnOrder=true ) resulting in the same output.
Change Script Result:
Testing
Tested using SQLPackage 18.5 and 18.5.1.
Please advise if this can be resolved in the next version of SQLPackage / DacFx.