Tables [dbo].[DocumentAutoDownloadRule]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created7:35:23 PM Thursday, August 29, 2024
Last Modified7:35:26 PM Thursday, August 29, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_DocumentAutoDownloadRule: DocumentAutoDownloadRuleIDDocumentAutoDownloadRuleIDint4
No
1 - 1
Indexes IX_DocumentAutoDownloadRule_RuleDescription: RuleDescriptionRuleDescriptionvarchar(128)128
No
Foreign Keys FK_DocumentAutoDownloadRule_XmlInterface: [dbo].[XmlInterface].XmlInterfaceFIDIndexes IX_DocumentAutoDownloadRule_XmlInterface: XmlInterfaceFIDXmlInterfaceFIDint4
No
Inactivebit1
No
Validatedbit1
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_DocumentAutoDownloadRule: DocumentAutoDownloadRuleIDPK_DocumentAutoDownloadRuleDocumentAutoDownloadRuleID
Yes
IX_DocumentAutoDownloadRule_RuleDescriptionRuleDescription
Yes
IX_DocumentAutoDownloadRule_XmlInterfaceXmlInterfaceFID
Foreign Keys Foreign Keys
NameDeleteColumns
FK_DocumentAutoDownloadRule_XmlInterfaceCascadeXmlInterfaceFID->[dbo].[XmlInterface].[XmlInterfaceID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[DocumentAutoDownloadRule]
(
[DocumentAutoDownloadRuleID] [int] NOT NULL IDENTITY(1, 1),
[RuleDescription] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[XmlInterfaceFID] [int] NOT NULL,
[Inactive] [bit] NOT NULL,
[Validated] [bit] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[DocumentAutoDownloadRule] ADD CONSTRAINT [PK_DocumentAutoDownloadRule] PRIMARY KEY CLUSTERED  ([DocumentAutoDownloadRuleID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[DocumentAutoDownloadRule] ADD CONSTRAINT [IX_DocumentAutoDownloadRule_RuleDescription] UNIQUE NONCLUSTERED  ([RuleDescription]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_DocumentAutoDownloadRule_XmlInterface] ON [dbo].[DocumentAutoDownloadRule] ([XmlInterfaceFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[DocumentAutoDownloadRule] ADD CONSTRAINT [FK_DocumentAutoDownloadRule_XmlInterface] FOREIGN KEY ([XmlInterfaceFID]) REFERENCES [dbo].[XmlInterface] ([XmlInterfaceID]) ON DELETE CASCADE
GO
GRANT SELECT ON  [dbo].[DocumentAutoDownloadRule] TO [MssExec]
GRANT INSERT ON  [dbo].[DocumentAutoDownloadRule] TO [MssExec]
GRANT DELETE ON  [dbo].[DocumentAutoDownloadRule] TO [MssExec]
GRANT UPDATE ON  [dbo].[DocumentAutoDownloadRule] TO [MssExec]
GO
Uses
Used By