CREATE TABLE [dbo].[LaborRatingDay]
(
[LaborRatingDayID] [int] NOT NULL IDENTITY(1, 1),
[Name] [varchar] (80) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[NumericValue] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[LaborRatingDay] ADD CONSTRAINT [PK_LaborRatingDay] PRIMARY KEY NONCLUSTERED ([LaborRatingDayID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[LaborRatingDay] ADD CONSTRAINT [IX_LaborRatingDay_Name] UNIQUE NONCLUSTERED ([Name]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[LaborRatingDay] ADD CONSTRAINT [IX_LaborRatingDay_NumericValue_Name_LaborRatingDayID] UNIQUE CLUSTERED ([NumericValue], [Name], [LaborRatingDayID]) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[LaborRatingDay] TO [MssExec]
GRANT INSERT ON [dbo].[LaborRatingDay] TO [MssExec]
GRANT DELETE ON [dbo].[LaborRatingDay] TO [MssExec]
GRANT UPDATE ON [dbo].[LaborRatingDay] TO [MssExec]
GO