Tables [dbo].[ErrorCode]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)1542
Created4:57:07 PM Thursday, September 7, 2006
Last Modified1:53:17 PM Wednesday, April 10, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_ErrorCode: ECPriKeyECPriKeyint4
No
1 - 1
Descriptionvarchar(256)256
No
spNamevarchar(50)50
Yes
Foreign Keys FK_ErrorCode_LogLevel: [dbo].[LogLevel].LogLevelFIDLogLevelFIDint4
No
Indexes Indexes
NameColumnsUniqueFill Factor
Cluster Primary Key PK_ErrorCode: ECPriKeyPK_ErrorCodeECPriKey
Yes
80
Foreign Keys Foreign Keys
NameColumns
FK_ErrorCode_LogLevelLogLevelFID->[dbo].[LogLevel].[LogLevelID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[ErrorCode]
(
[ECPriKey] [int] NOT NULL IDENTITY(1, 1),
[Description] [varchar] (256) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[spName] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[LogLevelFID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ErrorCode] ADD CONSTRAINT [PK_ErrorCode] PRIMARY KEY CLUSTERED  ([ECPriKey]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ErrorCode] ADD CONSTRAINT [FK_ErrorCode_LogLevel] FOREIGN KEY ([LogLevelFID]) REFERENCES [dbo].[LogLevel] ([LogLevelID])
GO
GRANT SELECT ON  [dbo].[ErrorCode] TO [MssExec]
GRANT INSERT ON  [dbo].[ErrorCode] TO [MssExec]
GRANT DELETE ON  [dbo].[ErrorCode] TO [MssExec]
GRANT UPDATE ON  [dbo].[ErrorCode] TO [MssExec]
GO
Uses
Used By