Tables [dbo].[DocumentAutoDownloadRule]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created9:18:02 AM Friday, November 8, 2024
Last Modified9:18:05 AM Friday, November 8, 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