CREATE TABLE [dbo].[RollOuts]
(
[RollOutID] [int] NOT NULL IDENTITY(1, 1),
[ProfileID] [int] NOT NULL,
[RolloutName] [varchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[MarkupPer] [smallint] NULL,
[InvoicePrefix] [varchar] (5) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[InvoiceNo] [int] NULL,
[InvoiceBy] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[RollOuts] ADD CONSTRAINT [PK_ROLLOUTS] PRIMARY KEY CLUSTERED ([RollOutID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[RollOuts] ADD CONSTRAINT [FK_ROLLOUTS_PROFILES] FOREIGN KEY ([ProfileID]) REFERENCES [dbo].[Profiles] ([ProfileID])
GO
GRANT SELECT ON [dbo].[RollOuts] TO [MssExec]
GRANT INSERT ON [dbo].[RollOuts] TO [MssExec]
GRANT DELETE ON [dbo].[RollOuts] TO [MssExec]
GRANT UPDATE ON [dbo].[RollOuts] TO [MssExec]
GO