Tables [dbo].[ClaimErrorLog]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)0
Created6:18:11 PM Tuesday, February 27, 2007
Last Modified11:13:38 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDescription
Primary Key PK_ClaimErrorLog: ClaimErrorLogIDClaimErrorLogIDint4
No
1 - 1Primary key.
Indexes IX_ClaimErrorLog_SessionID: SessionIDSessionIDvarchar(50)50
No
Storage session the error occurred.
Foreign Keys FK_ClaimErrorLog_Claim: [dbo].[Claim].ClaimIDClaimIDint4
Yes
Foreign key an order.
Sourcevarchar(50)50
Yes
SourceIDint4
Yes
Objectvarchar(20)20
Yes
ObjectIDint4
Yes
Foreign Keys FK_ClaimErrorLog_ErrorCode: [dbo].[ErrorCode].ECPriKeyECPriKeyint4
No
Foreign key to an error code.
Param1varchar(128)128
Yes
Param2varchar(128)128
Yes
Param3varchar(128)128
Yes
Param4varchar(128)128
Yes
Param5varchar(128)128
Yes
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_ClaimErrorLog: ClaimErrorLogIDPK_ClaimErrorLogClaimErrorLogID
Yes
80
IX_ClaimErrorLog_SessionIDSessionID80
Foreign Keys Foreign Keys
NameColumns
FK_ClaimErrorLog_ClaimClaimID->[dbo].[Claim].[ClaimID]
FK_ClaimErrorLog_ErrorCodeECPriKey->[dbo].[ErrorCode].[ECPriKey]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[ClaimErrorLog]
(
[ClaimErrorLogID] [int] NOT NULL IDENTITY(1, 1),
[SessionID] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[ClaimID] [int] NULL,
[Source] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[SourceID] [int] NULL,
[Object] [varchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[ObjectID] [int] NULL,
[ECPriKey] [int] NOT NULL,
[Param1] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Param2] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Param3] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Param4] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Param5] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ClaimErrorLog] ADD CONSTRAINT [PK_ClaimErrorLog] PRIMARY KEY NONCLUSTERED  ([ClaimErrorLogID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_ClaimErrorLog_SessionID] ON [dbo].[ClaimErrorLog] ([SessionID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ClaimErrorLog] ADD CONSTRAINT [FK_ClaimErrorLog_Claim] FOREIGN KEY ([ClaimID]) REFERENCES [dbo].[Claim] ([ClaimID])
GO
ALTER TABLE [dbo].[ClaimErrorLog] ADD CONSTRAINT [FK_ClaimErrorLog_ErrorCode] FOREIGN KEY ([ECPriKey]) REFERENCES [dbo].[ErrorCode] ([ECPriKey])
GO
GRANT SELECT ON  [dbo].[ClaimErrorLog] TO [MssExec]
GRANT INSERT ON  [dbo].[ClaimErrorLog] TO [MssExec]
GRANT DELETE ON  [dbo].[ClaimErrorLog] TO [MssExec]
GRANT UPDATE ON  [dbo].[ClaimErrorLog] TO [MssExec]
GO
EXEC sp_addextendedproperty N'MS_Description', N'Primary key.', 'SCHEMA', N'dbo', 'TABLE', N'ClaimErrorLog', 'COLUMN', N'ClaimErrorLogID'
GO
EXEC sp_addextendedproperty N'MS_Description', N'Foreign key an order.', 'SCHEMA', N'dbo', 'TABLE', N'ClaimErrorLog', 'COLUMN', N'ClaimID'
GO
EXEC sp_addextendedproperty N'MS_Description', N'Foreign key to an error code.', 'SCHEMA', N'dbo', 'TABLE', N'ClaimErrorLog', 'COLUMN', N'ECPriKey'
GO
EXEC sp_addextendedproperty N'MS_Description', N'Storage session the error occurred. ', 'SCHEMA', N'dbo', 'TABLE', N'ClaimErrorLog', 'COLUMN', N'SessionID'
GO
Uses