CREATE TABLE [dbo].[Holiday]
(
[HolidayID] [int] NOT NULL IDENTITY(1, 1),
[Name] [varchar] (9) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Date] [date] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Holiday] ADD CONSTRAINT [PK_Holiday] PRIMARY KEY CLUSTERED ([HolidayID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Holiday] ADD CONSTRAINT [IX_Holiday_Date] UNIQUE NONCLUSTERED ([Date]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Holiday] ADD CONSTRAINT [IX_Holiday_Name] UNIQUE NONCLUSTERED ([HolidayID], [Name]) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[Holiday] TO [MssExec]
GRANT INSERT ON [dbo].[Holiday] TO [MssExec]
GRANT DELETE ON [dbo].[Holiday] TO [MssExec]
GRANT UPDATE ON [dbo].[Holiday] TO [MssExec]
GO