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
The following is generated using GetDropAndCreateDdl():
SET ANSI_NULLS ON
SET QUOTED_IDENTIFIER ON
GO
-------------------------------------------------------------------
IF EXISTS (SELECT * from sys.objects WHERE object_id = OBJECT_ID(N'[shred].[DefaultTest]') AND type IN (N'U'))
DROP TABLE [shred].[DefaultTest]
GO
CREATE TABLE [shred].[DefaultTest]
(
-- Columns Definition
[EtlPackageInstanceRunID] int NOT NULL
, [RecordID] bigint NOT NULL
-- Constraints
)
ON "default"
WITH (DATA_COMPRESSION = NONE)
GO
-------------------------------------------------------------------
Obviously, there are no Default Constraints generated.
The text was updated successfully, but these errors were encountered:
The following sample table has two columns, each of which has a default value specified:
The following is generated using GetDropAndCreateDdl():
Obviously, there are no Default Constraints generated.
The text was updated successfully, but these errors were encountered: