Tables [dbo].[AdminHistoryField]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)103
Created1:49:07 PM Wednesday, April 10, 2024
Last Modified1:49:07 PM Wednesday, April 10, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_AdminHistoryField: AdminHistoryFieldIdAdminHistoryFieldIdint4
No
1 - 1
Foreign Keys FK_AdminHistoryField_AdminHistoryAdminRole: [dbo].[AdminHistoryAdminRole].AdminHistoryAdminRoleFidIndexes IX_AdminHistoryField_AdminHistoryAdminRole_AdminField: AdminHistoryAdminRoleFid\AdminFieldIndexes IX_AdminHistoryField_AdminHistoryAdminRoleFid_AdminField: AdminHistoryAdminRoleFid\AdminFieldAdminHistoryAdminRoleFidint4
No
Indexes IX_AdminHistoryField_AdminHistoryAdminRole_AdminField: AdminHistoryAdminRoleFid\AdminFieldIndexes IX_AdminHistoryField_AdminHistoryAdminRoleFid_AdminField: AdminHistoryAdminRoleFid\AdminFieldAdminFieldvarchar(128)128
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_AdminHistoryField: AdminHistoryFieldIdPK_AdminHistoryFieldAdminHistoryFieldId
Yes
IX_AdminHistoryField_AdminHistoryAdminRole_AdminFieldAdminHistoryAdminRoleFid, AdminField
Yes
IX_AdminHistoryField_AdminHistoryAdminRoleFid_AdminFieldAdminHistoryAdminRoleFid, AdminField
Foreign Keys Foreign Keys
NameColumns
FK_AdminHistoryField_AdminHistoryAdminRoleAdminHistoryAdminRoleFid->[dbo].[AdminHistoryAdminRole].[AdminHistoryAdminRoleId]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[AdminHistoryField]
(
[AdminHistoryFieldId] [int] NOT NULL IDENTITY(1, 1),
[AdminHistoryAdminRoleFid] [int] NOT NULL,
[AdminField] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AdminHistoryField] ADD CONSTRAINT [PK_AdminHistoryField] PRIMARY KEY CLUSTERED  ([AdminHistoryFieldId]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AdminHistoryField] ADD CONSTRAINT [IX_AdminHistoryField_AdminHistoryAdminRole_AdminField] UNIQUE NONCLUSTERED  ([AdminHistoryAdminRoleFid], [AdminField]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_AdminHistoryField_AdminHistoryAdminRoleFid_AdminField] ON [dbo].[AdminHistoryField] ([AdminHistoryAdminRoleFid], [AdminField]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AdminHistoryField] ADD CONSTRAINT [FK_AdminHistoryField_AdminHistoryAdminRole] FOREIGN KEY ([AdminHistoryAdminRoleFid]) REFERENCES [dbo].[AdminHistoryAdminRole] ([AdminHistoryAdminRoleId])
GO
GRANT SELECT ON  [dbo].[AdminHistoryField] TO [MssExec]
GRANT INSERT ON  [dbo].[AdminHistoryField] TO [MssExec]
GRANT DELETE ON  [dbo].[AdminHistoryField] TO [MssExec]
GRANT UPDATE ON  [dbo].[AdminHistoryField] TO [MssExec]
GO
Uses
Used By