Tables [dbo].[VanlineStatementStageErrorLog]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created7:32:30 PM Tuesday, June 11, 2024
Last Modified7:32:31 PM Tuesday, June 11, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_VanlineStatementStageErrorLog: VanlineStatementStageErrorLogIDVanlineStatementStageErrorLogIDint4
No
1 - 1
Foreign Keys FK_VanlineStatementStageErrorLog_VanlineStatementStageHeader: [dbo].[VanlineStatementStageHeader].VanlineStatementStageHeaderFIDIndexes IX_[VanlineStatementStageErrorLog_Header: VanlineStatementStageHeaderFIDVanlineStatementStageHeaderFIDint4
No
LoggedOndatetime8
No
Foreign Keys FK_VanlineStatementStageErrorLog_ErrorCode: [dbo].[ErrorCode].ErrorCodeFIDErrorCodeFIDint4
No
OtherDatavarchar(255)255
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_VanlineStatementStageErrorLog: VanlineStatementStageErrorLogIDPK_VanlineStatementStageErrorLogVanlineStatementStageErrorLogID
Yes
IX_[VanlineStatementStageErrorLog_HeaderVanlineStatementStageHeaderFID
Foreign Keys Foreign Keys
NameDeleteColumns
FK_VanlineStatementStageErrorLog_ErrorCodeErrorCodeFID->[dbo].[ErrorCode].[ECPriKey]
FK_VanlineStatementStageErrorLog_VanlineStatementStageHeaderCascadeVanlineStatementStageHeaderFID->[dbo].[VanlineStatementStageHeader].[VanlineStatementStageHeaderID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[VanlineStatementStageErrorLog]
(
[VanlineStatementStageErrorLogID] [int] NOT NULL IDENTITY(1, 1),
[VanlineStatementStageHeaderFID] [int] NOT NULL,
[LoggedOn] [datetime] NOT NULL,
[ErrorCodeFID] [int] NOT NULL,
[OtherData] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[VanlineStatementStageErrorLog] ADD CONSTRAINT [PK_VanlineStatementStageErrorLog] PRIMARY KEY CLUSTERED  ([VanlineStatementStageErrorLogID]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_[VanlineStatementStageErrorLog_Header] ON [dbo].[VanlineStatementStageErrorLog] ([VanlineStatementStageHeaderFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[VanlineStatementStageErrorLog] ADD CONSTRAINT [FK_VanlineStatementStageErrorLog_ErrorCode] FOREIGN KEY ([ErrorCodeFID]) REFERENCES [dbo].[ErrorCode] ([ECPriKey])
GO
ALTER TABLE [dbo].[VanlineStatementStageErrorLog] ADD CONSTRAINT [FK_VanlineStatementStageErrorLog_VanlineStatementStageHeader] FOREIGN KEY ([VanlineStatementStageHeaderFID]) REFERENCES [dbo].[VanlineStatementStageHeader] ([VanlineStatementStageHeaderID]) ON DELETE CASCADE
GO
GRANT SELECT ON  [dbo].[VanlineStatementStageErrorLog] TO [MssExec]
GRANT INSERT ON  [dbo].[VanlineStatementStageErrorLog] TO [MssExec]
GRANT DELETE ON  [dbo].[VanlineStatementStageErrorLog] TO [MssExec]
GRANT UPDATE ON  [dbo].[VanlineStatementStageErrorLog] TO [MssExec]
GO
Uses