CREATE TABLE [dbo].[ContractMaster]
(
[CMPriKey] [int] NOT NULL IDENTITY(1, 1),
[Description] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[BLDiscount] [decimal] (18, 0) NULL,
[Contract] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[IsLocal] [varchar] (1) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[CageCode] [varchar] (6) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Inactive] [bit] NOT NULL CONSTRAINT [DF_ContractMaster_Inactive] DEFAULT ((0))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ContractMaster] ADD CONSTRAINT [PK_ContractMaster] PRIMARY KEY CLUSTERED ([CMPriKey]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[ContractMaster] TO [MssExec]
GRANT INSERT ON [dbo].[ContractMaster] TO [MssExec]
GRANT DELETE ON [dbo].[ContractMaster] TO [MssExec]
GRANT UPDATE ON [dbo].[ContractMaster] TO [MssExec]
GO