Tables [dbo].[DocumentAutoUploadRule]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)3
Created1:57:10 PM Wednesday, April 10, 2024
Last Modified1:57:11 PM Wednesday, April 10, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_DocumentAutoUploadRule: DocumentAutoUploadRuleIDDocumentAutoUploadRuleIDint4
No
1 - 1
Indexes IX_DocumentAutoUploadRule_RuleDescription: RuleDescriptionRuleDescriptionvarchar(128)128
No
Foreign Keys FK_DocumentAutoUploadRule_XmlInterface: [dbo].[XmlInterface].XmlInterfaceFIDIndexes IX_DocumentAutoUploadRule_XmlInterface: XmlInterfaceFIDXmlInterfaceFIDint4
No
Inactivebit1
No
Validatedbit1
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_DocumentAutoUploadRule: DocumentAutoUploadRuleIDPK_DocumentAutoUploadRuleDocumentAutoUploadRuleID
Yes
IX_DocumentAutoUploadRule_RuleDescriptionRuleDescription
Yes
IX_DocumentAutoUploadRule_XmlInterfaceXmlInterfaceFID
Foreign Keys Foreign Keys
NameDeleteColumns
FK_DocumentAutoUploadRule_XmlInterfaceCascadeXmlInterfaceFID->[dbo].[XmlInterface].[XmlInterfaceID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[DocumentAutoUploadRule]
(
[DocumentAutoUploadRuleID] [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].[DocumentAutoUploadRule] ADD CONSTRAINT [PK_DocumentAutoUploadRule] PRIMARY KEY CLUSTERED  ([DocumentAutoUploadRuleID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[DocumentAutoUploadRule] ADD CONSTRAINT [IX_DocumentAutoUploadRule_RuleDescription] UNIQUE NONCLUSTERED  ([RuleDescription]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_DocumentAutoUploadRule_XmlInterface] ON [dbo].[DocumentAutoUploadRule] ([XmlInterfaceFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[DocumentAutoUploadRule] ADD CONSTRAINT [FK_DocumentAutoUploadRule_XmlInterface] FOREIGN KEY ([XmlInterfaceFID]) REFERENCES [dbo].[XmlInterface] ([XmlInterfaceID]) ON DELETE CASCADE
GO
GRANT SELECT ON  [dbo].[DocumentAutoUploadRule] TO [MssExec]
GRANT INSERT ON  [dbo].[DocumentAutoUploadRule] TO [MssExec]
GRANT DELETE ON  [dbo].[DocumentAutoUploadRule] TO [MssExec]
GRANT UPDATE ON  [dbo].[DocumentAutoUploadRule] TO [MssExec]
GO
Uses
Used By