CREATE TABLE [dbo].[AdminProfile]
(
[AdminProfileID] [int] NOT NULL IDENTITY(1, 1),
[Description] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[IsSuperUser] [bit] NOT NULL CONSTRAINT [DF_AdminProfile_IsSuperUser] DEFAULT ((0))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AdminProfile] ADD CONSTRAINT [PK_AdminProfile] PRIMARY KEY NONCLUSTERED ([AdminProfileID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AdminProfile] ADD CONSTRAINT [IX_AdminProfile_Description] UNIQUE NONCLUSTERED ([Description]) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[AdminProfile] TO [MssExec]
GRANT INSERT ON [dbo].[AdminProfile] TO [MssExec]
GRANT DELETE ON [dbo].[AdminProfile] TO [MssExec]
GRANT UPDATE ON [dbo].[AdminProfile] TO [MssExec]
GO
EXEC sp_addextendedproperty N'MS_Description', N'The primary key.', 'SCHEMA', N'dbo', 'TABLE', N'AdminProfile', 'COLUMN', N'AdminProfileID'
GO
EXEC sp_addextendedproperty N'MS_Description', N'The description of the administrative profile.', 'SCHEMA', N'dbo', 'TABLE', N'AdminProfile', 'COLUMN', N'Description'
GO
EXEC sp_addextendedproperty N'MS_Description', N'Identifies the fully loaded admin profile that cannot be deleted.', 'SCHEMA', N'dbo', 'TABLE', N'AdminProfile', 'COLUMN', N'IsSuperUser'
GO