Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 GRADETYPECODE tinyint   Default = 2 The type of grade values to use.
 GRADETYPE nvarchar(7) (Computed) CASE [GRADETYPECODE] WHEN 1 THEN N'Grade' WHEN 2 THEN N'Numeric' END Provides a translation for the 'GRADETYPECODE' field.
 LOWESTVALUENUMERIC decimal(14, 2)   Default = 0 Lowest numeric grade value.
 HIGHESTVALUENUMERIC decimal(14, 2)   Default = 0 Highest numeric grade value.
 LOWESTVALUEGRADE nvarchar(10)   Default = '' Lowest non-numeric grade.
 HIGHESTVALUEGRADE nvarchar(10)   Default = '' Highest non-numeric grade.
 DATEADDED datetime   Default = getdate() Indicates the date this record was added.
 DATECHANGED datetime   Default = getdate() Indicates the date this record was last changed.
 TS timestamp   Timestamp.
 TSLONG bigint (Computed) CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Key Field Type Null Notes Description
 PERFORMANCECATEGORYLEVELID uniqueidentifier   PERFORMANCECATEGORYLEVEL.ID FK to PERFORMANCECATEGORYLEVEL
 TRANSLATIONTABLEID uniqueidentifier TRANSLATIONTABLE.ID FK to TRANSLATIONTABLE
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_PERFORMANCECATEGORYLEVELGRADE_DATEADDED DATEADDED    
 IX_PERFORMANCECATEGORYLEVELGRADE_DATECHANGED DATECHANGED      
 PK_PERFORMANCECATEGORYLEVELGRADE ID  
 UIX_PERFORMANCECATEGORYLEVELGRADE_PERFORMANCECATEGORYLEVELID_TRANSLATIONTABLEID PERFORMANCECATEGORYLEVELID, TRANSLATIONTABLEID    

Trigger Name Description
 TR_PERFORMANCECATEGORYLEVELGRADE_INSERTUPDATE_VALIDGRADEORDER
 TR_PERFORMANCECATEGORYLEVELGRADE_INSERTUPDATE_GRADESVALIDFORTRANSLATIONTABLE
 TR_PERFORMANCECATEGORYLEVELGRADE_AUDIT_UPDATE
 TR_PERFORMANCECATEGORYLEVELGRADE_AUDIT_DELETE

Entity-Relationship diagram of this table