You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment (local platform and source/target platforms): All
Steps to Reproduce:
Create a database and create a table (below syntax) in SSMS 2.CREATE TABLE [dbo].[Demo] ( [DemoId] INT IDENTITY (1, 1) NOT NULL, [Field1] BIT CONSTRAINT [Field1Constraint] DEFAULT CAST(0 AS BIT) NOT NULL );
When script out the created the table, you can observe the CAST(0 AS BIT) changes to CONVERT([bit],(0)).
Since both are same according to the engine, but dacfx fails to recognize them and generated the differences, which might cause drop and recreating then column/ater table/ rebuild as well in some scenarios.
Did this occur in prior versions? If not - which version(s) did it work in?
(DacFx/SqlPackage/SSMS/Azure Data Studio) All
The text was updated successfully, but these errors were encountered:
Steps to Reproduce:
2.CREATE TABLE [dbo].[Demo] ( [DemoId] INT IDENTITY (1, 1) NOT NULL, [Field1] BIT CONSTRAINT [Field1Constraint] DEFAULT CAST(0 AS BIT) NOT NULL );
Did this occur in prior versions? If not - which version(s) did it work in?
(DacFx/SqlPackage/SSMS/Azure Data Studio) All
The text was updated successfully, but these errors were encountered: