Tables [dbo].[DocumentUploadError]
Table used to track upload errors for documents that were uploaded from the Document Management Viewer to an external system, such as TransDocs.
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created10:32:30 AM Thursday, July 8, 2010
Last Modified11:13:39 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDefaultDescription
Cluster Primary Key PK_DocumentUploadError: DocumentUploadErrorIDDocumentUploadErrorIDint4
No
1 - 1Primary key of this table.
Foreign Keys FK_DocumentUploadError_DocumentUploadStatus: [dbo].[DocumentUploadStatus].DocumentUploadStatusFIDIndexes IX_DocumentUploadError_DocumentUploadStatusFID: DocumentUploadStatusFIDDocumentUploadStatusFIDint4
No
Foreign key linking this table to the DocumentUploadStatus table.
ErrorDateTimedatetime8
No
(getdate())Date/time the error was processed
Foreign Keys FK_DocumentUploadError_ErrorCode: [dbo].[ErrorCode].ErrorCodeFIDErrorCodeFIDint4
No
Foreign key linking this table to the ErrorCode table.
AdditionalDatavarchar(64)64
Yes
Additional data returned from the external application relating to this error.
Indexes Indexes
NameColumnsUniqueFill Factor
Cluster Primary Key PK_DocumentUploadError: DocumentUploadErrorIDPK_DocumentUploadErrorDocumentUploadErrorID
Yes
80
IX_DocumentUploadError_DocumentUploadStatusFIDDocumentUploadStatusFID80
Foreign Keys Foreign Keys
NameDeleteColumns
FK_DocumentUploadError_DocumentUploadStatusCascadeDocumentUploadStatusFID->[dbo].[DocumentUploadStatus].[DocumentUploadStatusID]
FK_DocumentUploadError_ErrorCodeErrorCodeFID->[dbo].[ErrorCode].[ECPriKey]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[DocumentUploadError]
(
[DocumentUploadErrorID] [int] NOT NULL IDENTITY(1, 1),
[DocumentUploadStatusFID] [int] NOT NULL,
[ErrorDateTime] [datetime] NOT NULL CONSTRAINT [DF_DocumentUploadError_ErrorDateTime] DEFAULT (getdate()),
[ErrorCodeFID] [int] NOT NULL,
[AdditionalData] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[DocumentUploadError] ADD CONSTRAINT [PK_DocumentUploadError] PRIMARY KEY CLUSTERED  ([DocumentUploadErrorID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_DocumentUploadError_DocumentUploadStatusFID] ON [dbo].[DocumentUploadError] ([DocumentUploadStatusFID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[DocumentUploadError] ADD CONSTRAINT [FK_DocumentUploadError_DocumentUploadStatus] FOREIGN KEY ([DocumentUploadStatusFID]) REFERENCES [dbo].[DocumentUploadStatus] ([DocumentUploadStatusID]) ON DELETE CASCADE
GO
ALTER TABLE [dbo].[DocumentUploadError] ADD CONSTRAINT [FK_DocumentUploadError_ErrorCode] FOREIGN KEY ([ErrorCodeFID]) REFERENCES [dbo].[ErrorCode] ([ECPriKey])
GO
GRANT SELECT ON  [dbo].[DocumentUploadError] TO [MssExec]
GRANT INSERT ON  [dbo].[DocumentUploadError] TO [MssExec]
GRANT DELETE ON  [dbo].[DocumentUploadError] TO [MssExec]
GRANT UPDATE ON  [dbo].[DocumentUploadError] TO [MssExec]
GO
EXEC sp_addextendedproperty N'MS_Description', N'Table used to track upload errors for documents that were uploaded from the Document Management Viewer to an external system, such as TransDocs.', 'SCHEMA', N'dbo', 'TABLE', N'DocumentUploadError', NULL, NULL
GO
EXEC sp_addextendedproperty N'MS_Description', N'Additional data returned from the external application relating to this error.', 'SCHEMA', N'dbo', 'TABLE', N'DocumentUploadError', 'COLUMN', N'AdditionalData'
GO
EXEC sp_addextendedproperty N'MS_Description', N'Primary key of this table.', 'SCHEMA', N'dbo', 'TABLE', N'DocumentUploadError', 'COLUMN', N'DocumentUploadErrorID'
GO
EXEC sp_addextendedproperty N'MS_Description', N'Foreign key linking this table to the DocumentUploadStatus table.', 'SCHEMA', N'dbo', 'TABLE', N'DocumentUploadError', 'COLUMN', N'DocumentUploadStatusFID'
GO
EXEC sp_addextendedproperty N'MS_Description', N'Foreign key linking this table to the ErrorCode table.', 'SCHEMA', N'dbo', 'TABLE', N'DocumentUploadError', 'COLUMN', N'ErrorCodeFID'
GO
EXEC sp_addextendedproperty N'MS_Description', N'Date/time the error was processed', 'SCHEMA', N'dbo', 'TABLE', N'DocumentUploadError', 'COLUMN', N'ErrorDateTime'
GO
Uses