Tables [dbo].[MSSDocumentExternalContent]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created7:42:07 PM Wednesday, February 28, 2024
Last Modified7:42:57 PM Wednesday, February 28, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Cluster Primary Key PK_MSSDocumentExternalContent: MSSDocumentExternalContentIDMSSDocumentExternalContentIDint4
No
1 - 1
Foreign Keys FK_MSSDocumentExternalContent_MSSDocument: [dbo].[MSSDocument].MSSDocumentFIDIndexes IX_MSSDocumentExternalContent_MSSDocument: MSSDocumentFIDMSSDocumentFIDint4
No
IntegratorKeyIDnvarchar(4)8
No
CreationDateUtcdatetime8
No
(getutcdate())
ExternalDocumentIDnvarchar(64)128
No
ErrorCodeint4
No
ErrorMessagevarchar(255)255
Yes
DocumentContentUrlnvarchar(1000)2000
Yes
DocumentContentHttpMethodvarchar(7)7
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_MSSDocumentExternalContent: MSSDocumentExternalContentIDPK_MSSDocumentExternalContentMSSDocumentExternalContentID
Yes
IX_MSSDocumentExternalContent_MSSDocumentMSSDocumentFID
Yes
Foreign Keys Foreign Keys
NameColumns
FK_MSSDocumentExternalContent_MSSDocumentMSSDocumentFID->[dbo].[MSSDocument].[MSSDocumentID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[MSSDocumentExternalContent]
(
[MSSDocumentExternalContentID] [int] NOT NULL IDENTITY(1, 1),
[MSSDocumentFID] [int] NOT NULL,
[IntegratorKeyID] [nvarchar] (4) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[CreationDateUtc] [datetime] NOT NULL CONSTRAINT [DF_MSSDocumentExternalContent_CreationDateUtc] DEFAULT (getutcdate()),
[ExternalDocumentID] [nvarchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[ErrorCode] [int] NOT NULL,
[ErrorMessage] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[DocumentContentUrl] [nvarchar] (1000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[DocumentContentHttpMethod] [varchar] (7) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[MSSDocumentExternalContent] ADD CONSTRAINT [PK_MSSDocumentExternalContent] PRIMARY KEY CLUSTERED  ([MSSDocumentExternalContentID]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_MSSDocumentExternalContent_MSSDocument] ON [dbo].[MSSDocumentExternalContent] ([MSSDocumentFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[MSSDocumentExternalContent] ADD CONSTRAINT [FK_MSSDocumentExternalContent_MSSDocument] FOREIGN KEY ([MSSDocumentFID]) REFERENCES [dbo].[MSSDocument] ([MSSDocumentID])
GO
GRANT SELECT ON  [dbo].[MSSDocumentExternalContent] TO [MssExec]
GRANT INSERT ON  [dbo].[MSSDocumentExternalContent] TO [MssExec]
GRANT DELETE ON  [dbo].[MSSDocumentExternalContent] TO [MssExec]
GRANT UPDATE ON  [dbo].[MSSDocumentExternalContent] TO [MssExec]
GO
Uses