CREATE TABLE [dbo].[CapacityDisplay]
(
[CapacityDisplayID] [int] NOT NULL IDENTITY(1, 1),
[BucketSizeColumnVisible] [bit] NOT NULL,
[BucketSizeColumnName] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[UsedAmountColumnVisible] [bit] NOT NULL,
[UsedAmountColumnName] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[RemainingAmountColumnVisible] [bit] NOT NULL,
[RemainingAmountColumnName] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[PercentageColumnVisible] [bit] NOT NULL,
[PercentageColumnName] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[UsePlannedDataForAll] [bit] NOT NULL CONSTRAINT [DF_CapacityDisplay_UsePlannedDataForAll] DEFAULT ((0))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CapacityDisplay] ADD CONSTRAINT [PK_CapacityDisplay] PRIMARY KEY CLUSTERED ([CapacityDisplayID]) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[CapacityDisplay] TO [MssExec]
GRANT INSERT ON [dbo].[CapacityDisplay] TO [MssExec]
GRANT DELETE ON [dbo].[CapacityDisplay] TO [MssExec]
GRANT UPDATE ON [dbo].[CapacityDisplay] TO [MssExec]
GO