Used to define a grade range for a performance category level.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| GRADETYPECODE |
tinyint |
|
Default = 2 |
The type of grade values to use. |
| GRADETYPE |
nvarchar(7) (Computed) |
yes |
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) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
Foreign Keys
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_PERFORMANCECATEGORYLEVELGRADE_DATEADDED |
DATEADDED |
|
|
yes |
| IX_PERFORMANCECATEGORYLEVELGRADE_DATECHANGED |
DATECHANGED |
|
|
|
| PK_PERFORMANCECATEGORYLEVELGRADE |
ID |
yes |
yes |
|
| UIX_PERFORMANCECATEGORYLEVELGRADE_PERFORMANCECATEGORYLEVELID_TRANSLATIONTABLEID |
PERFORMANCECATEGORYLEVELID, TRANSLATIONTABLEID |
yes |
|
|
Triggers