Tables [dbo].[XmlImportError]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)0
Created5:00:23 PM Monday, April 21, 2008
Last Modified1:48:50 PM Wednesday, April 10, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Primary Key PK_XmlImportError: XmlImportErrorIDXmlImportErrorIDint4
No
1 - 1
DataDescriptionvarchar(max)max
No
DateDownloadeddatetime8
No
Foreign Keys FK_XmlImportError_ErrorCode: [dbo].[ErrorCode].ErrorCodeFIDErrorCodeFIDint4
No
Indexes IX_XmlImportError_XmlID_XmlSystem: XmlID\XmlSystemDataTypeMapFIDXmlIDvarchar(111)111
Yes
XMLDatavarchar(max)max
Yes
Foreign Keys FK_XmlImportError_XmlSystemDataTypeMap: [dbo].[XmlSystemDataTypeMap].XmlSystemDataTypeMapFIDIndexes IX_XmlImportError_Order_XmlSystem: OrderFID\XmlSystemDataTypeMapFIDIndexes IX_XmlImportError_XmlID_XmlSystem: XmlID\XmlSystemDataTypeMapFIDXmlSystemDataTypeMapFIDint4
Yes
Foreign Keys FK_XmlImportError_Orders: [dbo].[Orders].OrderFIDIndexes IX_XmlImportError_Order_XmlSystem: OrderFID\XmlSystemDataTypeMapFIDOrderFIDint4
Yes
Foreign Keys FK_XmlImportError_XmlImportHistory: [dbo].[XmlImportHistory].XmlImportHistoryFIDXmlImportHistoryFIDint4
Yes
IsVanLineOrderErrorsbit1
No
((0))
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_XmlImportError: XmlImportErrorIDPK_XmlImportErrorXmlImportErrorID
Yes
80
IX_XmlImportError_Order_XmlSystemOrderFID, XmlSystemDataTypeMapFID
IX_XmlImportError_XmlID_XmlSystemXmlID, XmlSystemDataTypeMapFID
Foreign Keys Foreign Keys
NameColumns
FK_XmlImportError_ErrorCodeErrorCodeFID->[dbo].[ErrorCode].[ECPriKey]
FK_XmlImportError_OrdersOrderFID->[dbo].[Orders].[PriKey]
FK_XmlImportError_XmlImportHistoryXmlImportHistoryFID->[dbo].[XmlImportHistory].[XmlImportHistoryID]
FK_XmlImportError_XmlSystemDataTypeMapXmlSystemDataTypeMapFID->[dbo].[XmlSystemDataTypeMap].[XmlSystemDataTypeMapID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[XmlImportError]
(
[XmlImportErrorID] [int] NOT NULL IDENTITY(1, 1),
[DataDescription] [varchar] (max) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[DateDownloaded] [datetime] NOT NULL,
[ErrorCodeFID] [int] NOT NULL,
[XmlID] [varchar] (111) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[XMLData] [varchar] (max) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[XmlSystemDataTypeMapFID] [int] NULL,
[OrderFID] [int] NULL,
[XmlImportHistoryFID] [int] NULL,
[IsVanLineOrderErrors] [bit] NOT NULL CONSTRAINT [DF_XmlImportError_IsVanLineOrderErrors] DEFAULT ((0))
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlImportError] ADD CONSTRAINT [PK_XmlImportError] PRIMARY KEY NONCLUSTERED  ([XmlImportErrorID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_XmlImportError_Order_XmlSystem] ON [dbo].[XmlImportError] ([OrderFID], [XmlSystemDataTypeMapFID]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_XmlImportError_XmlID_XmlSystem] ON [dbo].[XmlImportError] ([XmlID], [XmlSystemDataTypeMapFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlImportError] ADD CONSTRAINT [FK_XmlImportError_ErrorCode] FOREIGN KEY ([ErrorCodeFID]) REFERENCES [dbo].[ErrorCode] ([ECPriKey])
GO
ALTER TABLE [dbo].[XmlImportError] ADD CONSTRAINT [FK_XmlImportError_Orders] FOREIGN KEY ([OrderFID]) REFERENCES [dbo].[Orders] ([PriKey])
GO
ALTER TABLE [dbo].[XmlImportError] ADD CONSTRAINT [FK_XmlImportError_XmlImportHistory] FOREIGN KEY ([XmlImportHistoryFID]) REFERENCES [dbo].[XmlImportHistory] ([XmlImportHistoryID])
GO
ALTER TABLE [dbo].[XmlImportError] ADD CONSTRAINT [FK_XmlImportError_XmlSystemDataTypeMap] FOREIGN KEY ([XmlSystemDataTypeMapFID]) REFERENCES [dbo].[XmlSystemDataTypeMap] ([XmlSystemDataTypeMapID])
GO
GRANT SELECT ON  [dbo].[XmlImportError] TO [MssExec]
GRANT INSERT ON  [dbo].[XmlImportError] TO [MssExec]
GRANT DELETE ON  [dbo].[XmlImportError] TO [MssExec]
GRANT UPDATE ON  [dbo].[XmlImportError] TO [MssExec]
GO
Uses