TRANSLATIONTABLEGRADE
Holds grades and their numeric equivalents.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| GRADE |
nvarchar(10) |
|
Default = '' |
Non-numeric grade for which equivalents will be defined. |
| NUMERICEQUIVALENT |
decimal(14, 2) |
|
Default = 0 |
Numeric equivalent that should be used when translating from non-numeric grade to numeric. |
| CREDITAWARDED |
bit |
|
Default = 1 |
Indicates whether credit should be awarded for this grade. |
| HIGHESTSCORE |
decimal(14, 2) |
|
Default = 0 |
Highest value that translates to this non-numeric grade when translating from numeric to non-numeric. |
| LOWESTSCORE |
decimal(14, 2) |
|
Default = 0 |
Lowest value that translates to this non-numeric grade when translating from numeric to non-numeric. |
| 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
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| TRANSLATIONTABLEID |
uniqueidentifier |
|
TRANSLATIONTABLE.ID
|
The translation table to which this grade belongs. |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_TRANSLATIONTABLEGRADE_DATEADDED |
DATEADDED |
|
|
yes |
| IX_TRANSLATIONTABLEGRADE_DATECHANGED |
DATECHANGED |
|
|
|
| PK_TRANSLATIONTABLEGRADE |
ID |
yes |
yes |
|
| UIX_TRANSLATIONTABLEGRADE_TRANSLATIONTABLEID_GRADE |
TRANSLATIONTABLEID, GRADE |
yes |
|
|
Triggers
Referenced by