[dbo].[BuildingConstraintItems]
CREATE TABLE [dbo].[BuildingConstraintItems]
(
[BuildingConstraintItemID] [int] NOT NULL IDENTITY(1, 1),
[Description] [varchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[YesNoFlag] [bit] NOT NULL CONSTRAINT [DF_BuildingConstraintItem_AllowCheckbox] DEFAULT ((0)),
[Note] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[SortOrder] [int] NOT NULL CONSTRAINT [DF_BuildingConstraintItem_SortOrder] DEFAULT ((0))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[BuildingConstraintItems] ADD CONSTRAINT [PK_BuildingConstraintItems] PRIMARY KEY CLUSTERED ([BuildingConstraintItemID]) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[BuildingConstraintItems] TO [MssExec]
GRANT INSERT ON [dbo].[BuildingConstraintItems] TO [MssExec]
GRANT DELETE ON [dbo].[BuildingConstraintItems] TO [MssExec]
GRANT UPDATE ON [dbo].[BuildingConstraintItems] TO [MssExec]
GO