CREATE TABLE [dbo].[LogLevel]
(
[LogLevelID] [int] NOT NULL IDENTITY(1, 1),
[LevelDescription] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[LogLevel] ADD CONSTRAINT [PK_LogLevel] PRIMARY KEY CLUSTERED ([LogLevelID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[LogLevel] TO [MssExec]
GRANT INSERT ON [dbo].[LogLevel] TO [MssExec]
GRANT DELETE ON [dbo].[LogLevel] TO [MssExec]
GRANT UPDATE ON [dbo].[LogLevel] TO [MssExec]
GO
EXEC sp_addextendedproperty N'MS_Description', N'The description of the log level.', 'SCHEMA', N'dbo', 'TABLE', N'LogLevel', 'COLUMN', N'LevelDescription'
GO
EXEC sp_addextendedproperty N'MS_Description', N'The primary key.', 'SCHEMA', N'dbo', 'TABLE', N'LogLevel', 'COLUMN', N'LogLevelID'
GO