Tables [dbo].[AdminProfileDetail]
Properties
PropertyValue
Row Count (~)285
Created4:03:37 PM Thursday, May 10, 2012
Last Modified11:13:37 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDescription
Cluster Primary Key PK_AdminProfileDetail: AdminProfileDetailIDAdminProfileDetailIDint4
No
1 - 1The primary key.
Foreign Keys FK_AdminProfileDetail_AdminProfile: [dbo].[AdminProfile].AdminProfileFIDIndexes IX_AdminProfileDetail_AdminProfileFID_AdminRoleFID: AdminProfileFID\AdminRoleFIDAdminProfileFIDint4
No
The administration profile this detail is mapped to.
Foreign Keys FK_AdminProfileDetail_AdminRole: [dbo].[AdminRole].AdminRoleFIDIndexes IX_AdminProfileDetail_AdminProfileFID_AdminRoleFID: AdminProfileFID\AdminRoleFIDAdminRoleFIDint4
No
The administration role this profile is allowed to perform.
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_AdminProfileDetail: AdminProfileDetailIDPK_AdminProfileDetailAdminProfileDetailID
Yes
IX_AdminProfileDetail_AdminProfileFID_AdminRoleFIDAdminProfileFID, AdminRoleFID
Yes
Foreign Keys Foreign Keys
NameColumns
FK_AdminProfileDetail_AdminProfileAdminProfileFID->[dbo].[AdminProfile].[AdminProfileID]
FK_AdminProfileDetail_AdminRoleAdminRoleFID->[dbo].[AdminRole].[AdminRoleID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[AdminProfileDetail]
(
[AdminProfileDetailID] [int] NOT NULL IDENTITY(1, 1),
[AdminProfileFID] [int] NOT NULL,
[AdminRoleFID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AdminProfileDetail] ADD CONSTRAINT [PK_AdminProfileDetail] PRIMARY KEY CLUSTERED  ([AdminProfileDetailID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AdminProfileDetail] ADD CONSTRAINT [IX_AdminProfileDetail_AdminProfileFID_AdminRoleFID] UNIQUE NONCLUSTERED  ([AdminProfileFID], [AdminRoleFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AdminProfileDetail] ADD CONSTRAINT [FK_AdminProfileDetail_AdminProfile] FOREIGN KEY ([AdminProfileFID]) REFERENCES [dbo].[AdminProfile] ([AdminProfileID])
GO
ALTER TABLE [dbo].[AdminProfileDetail] ADD CONSTRAINT [FK_AdminProfileDetail_AdminRole] FOREIGN KEY ([AdminRoleFID]) REFERENCES [dbo].[AdminRole] ([AdminRoleID])
GO
GRANT SELECT ON  [dbo].[AdminProfileDetail] TO [MssExec]
GRANT INSERT ON  [dbo].[AdminProfileDetail] TO [MssExec]
GRANT DELETE ON  [dbo].[AdminProfileDetail] TO [MssExec]
GRANT UPDATE ON  [dbo].[AdminProfileDetail] TO [MssExec]
GO
EXEC sp_addextendedproperty N'MS_Description', N'The primary key.', 'SCHEMA', N'dbo', 'TABLE', N'AdminProfileDetail', 'COLUMN', N'AdminProfileDetailID'
GO
EXEC sp_addextendedproperty N'MS_Description', N'The administration profile this detail is mapped to.', 'SCHEMA', N'dbo', 'TABLE', N'AdminProfileDetail', 'COLUMN', N'AdminProfileFID'
GO
EXEC sp_addextendedproperty N'MS_Description', N'The administration role this profile is allowed to perform.', 'SCHEMA', N'dbo', 'TABLE', N'AdminProfileDetail', 'COLUMN', N'AdminRoleFID'
GO
Uses