Tables [dbo].[XmlImportReprocessHistory]
Properties
PropertyValue
Row Count (~)0
Created4:03:30 PM Tuesday, May 26, 2015
Last Modified4:03:30 PM Tuesday, May 26, 2015
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_XmlImportReprocessHistory: XmlImportReprocessHistoryIDXmlImportReprocessHistoryIDint4
No
1 - 1
Foreign Keys FK_XmlImportReprocessHistory_XmlImportHistory: [dbo].[XmlImportHistory].XmlImportHistoryFIDIndexes IX_XmlImportReprocessHistory_XmlImportHistory: XmlImportHistoryFIDXmlImportHistoryFIDint4
Yes
DateReprocesseddatetime8
No
Foreign Keys FK_XmlImportReprocessHistory_SysUser: [dbo].[Sysuser].ReprocessedByFIDReprocessedByFIDint4
Yes
ErrorCodeint4
Yes
StatusCodeint4
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_XmlImportReprocessHistory: XmlImportReprocessHistoryIDPK_XmlImportReprocessHistoryXmlImportReprocessHistoryID
Yes
IX_XmlImportReprocessHistory_XmlImportHistoryXmlImportHistoryFID
Foreign Keys Foreign Keys
NameColumns
FK_XmlImportReprocessHistory_SysUserReprocessedByFID->[dbo].[Sysuser].[SysUserID]
FK_XmlImportReprocessHistory_XmlImportHistoryXmlImportHistoryFID->[dbo].[XmlImportHistory].[XmlImportHistoryID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[XmlImportReprocessHistory]
(
[XmlImportReprocessHistoryID] [int] NOT NULL IDENTITY(1, 1),
[XmlImportHistoryFID] [int] NULL,
[DateReprocessed] [datetime] NOT NULL,
[ReprocessedByFID] [int] NULL,
[ErrorCode] [int] NULL,
[StatusCode] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlImportReprocessHistory] ADD CONSTRAINT [PK_XmlImportReprocessHistory] PRIMARY KEY CLUSTERED  ([XmlImportReprocessHistoryID]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_XmlImportReprocessHistory_XmlImportHistory] ON [dbo].[XmlImportReprocessHistory] ([XmlImportHistoryFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlImportReprocessHistory] ADD CONSTRAINT [FK_XmlImportReprocessHistory_SysUser] FOREIGN KEY ([ReprocessedByFID]) REFERENCES [dbo].[Sysuser] ([SysUserID])
GO
ALTER TABLE [dbo].[XmlImportReprocessHistory] ADD CONSTRAINT [FK_XmlImportReprocessHistory_XmlImportHistory] FOREIGN KEY ([XmlImportHistoryFID]) REFERENCES [dbo].[XmlImportHistory] ([XmlImportHistoryID])
GO
GRANT SELECT ON  [dbo].[XmlImportReprocessHistory] TO [MssExec]
GRANT INSERT ON  [dbo].[XmlImportReprocessHistory] TO [MssExec]
GRANT DELETE ON  [dbo].[XmlImportReprocessHistory] TO [MssExec]
GRANT UPDATE ON  [dbo].[XmlImportReprocessHistory] TO [MssExec]
GO
Uses