Tables [dbo].[DocumentAutoUploadRuleDetailMoveTypeGroup]
Properties
PropertyValue
Row Count (~)0
Created9:14:51 AM Thursday, May 23, 2024
Last Modified9:14:52 AM Thursday, May 23, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_DocumentAutoUploadRuleDetailMoveTypeGroup: DocumentAutoUploadRuleDetailMoveTypeGroupIDDocumentAutoUploadRuleDetailMoveTypeGroupIDint4
No
1 - 1
Foreign Keys FK_DocumentAutoUploadRuleDetailMoveTypeGroup_DocumentAutoUploadRuleDetail: [dbo].[DocumentAutoUploadRuleDetail].DocumentAutoUploadRuleDetailFIDIndexes IX_DocumentAutoUploadRuleDetailMoveTypeGroup_RuleDetail: DocumentAutoUploadRuleDetailFID\MoveTypeGroupFIDDocumentAutoUploadRuleDetailFIDint4
No
Foreign Keys FK_DocumentAutoUploadRuleDetailMoveTypeGroup_MoveTypeGroup: [dbo].[MoveTypeGroups].MoveTypeGroupFIDIndexes IX_DocumentAutoUploadRuleDetailMoveTypeGroup_RuleDetail: DocumentAutoUploadRuleDetailFID\MoveTypeGroupFIDIndexes IX_DocumentAutoUploadRuleDetailMoveTypeGroup_MoveTypeGroup: MoveTypeGroupFIDMoveTypeGroupFIDint4
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_DocumentAutoUploadRuleDetailMoveTypeGroup: DocumentAutoUploadRuleDetailMoveTypeGroupIDPK_DocumentAutoUploadRuleDetailMoveTypeGroupDocumentAutoUploadRuleDetailMoveTypeGroupID
Yes
IX_DocumentAutoUploadRuleDetailMoveTypeGroup_RuleDetailDocumentAutoUploadRuleDetailFID, MoveTypeGroupFID
Yes
IX_DocumentAutoUploadRuleDetailMoveTypeGroup_MoveTypeGroupMoveTypeGroupFID
Foreign Keys Foreign Keys
NameDeleteColumns
FK_DocumentAutoUploadRuleDetailMoveTypeGroup_DocumentAutoUploadRuleDetailCascadeDocumentAutoUploadRuleDetailFID->[dbo].[DocumentAutoUploadRuleDetail].[DocumentAutoUploadRuleDetailID]
FK_DocumentAutoUploadRuleDetailMoveTypeGroup_MoveTypeGroupCascadeMoveTypeGroupFID->[dbo].[MoveTypeGroups].[MTGroupPriKey]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[DocumentAutoUploadRuleDetailMoveTypeGroup]
(
[DocumentAutoUploadRuleDetailMoveTypeGroupID] [int] NOT NULL IDENTITY(1, 1),
[DocumentAutoUploadRuleDetailFID] [int] NOT NULL,
[MoveTypeGroupFID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[DocumentAutoUploadRuleDetailMoveTypeGroup] ADD CONSTRAINT [PK_DocumentAutoUploadRuleDetailMoveTypeGroup] PRIMARY KEY CLUSTERED  ([DocumentAutoUploadRuleDetailMoveTypeGroupID]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_DocumentAutoUploadRuleDetailMoveTypeGroup_RuleDetail] ON [dbo].[DocumentAutoUploadRuleDetailMoveTypeGroup] ([DocumentAutoUploadRuleDetailFID], [MoveTypeGroupFID]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_DocumentAutoUploadRuleDetailMoveTypeGroup_MoveTypeGroup] ON [dbo].[DocumentAutoUploadRuleDetailMoveTypeGroup] ([MoveTypeGroupFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[DocumentAutoUploadRuleDetailMoveTypeGroup] ADD CONSTRAINT [FK_DocumentAutoUploadRuleDetailMoveTypeGroup_DocumentAutoUploadRuleDetail] FOREIGN KEY ([DocumentAutoUploadRuleDetailFID]) REFERENCES [dbo].[DocumentAutoUploadRuleDetail] ([DocumentAutoUploadRuleDetailID]) ON DELETE CASCADE
GO
ALTER TABLE [dbo].[DocumentAutoUploadRuleDetailMoveTypeGroup] ADD CONSTRAINT [FK_DocumentAutoUploadRuleDetailMoveTypeGroup_MoveTypeGroup] FOREIGN KEY ([MoveTypeGroupFID]) REFERENCES [dbo].[MoveTypeGroups] ([MTGroupPriKey]) ON DELETE CASCADE
GO
GRANT SELECT ON  [dbo].[DocumentAutoUploadRuleDetailMoveTypeGroup] TO [MssExec]
GRANT INSERT ON  [dbo].[DocumentAutoUploadRuleDetailMoveTypeGroup] TO [MssExec]
GRANT DELETE ON  [dbo].[DocumentAutoUploadRuleDetailMoveTypeGroup] TO [MssExec]
GRANT UPDATE ON  [dbo].[DocumentAutoUploadRuleDetailMoveTypeGroup] TO [MssExec]
GO
Uses