| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
GRADE |
nvarchar(10) | Default = '' | The character representation of the grade. | |
NUMERICEQUIVALENT |
decimal(20, 2) | Default = 0 | The numeric equivalent of the grade. | |
HIGHESTSCORE |
decimal(20, 2) | ![]() |
Default = 0 | The highest score in the range for which the grade applies. |
LOWESTSCORE |
decimal(20, 2) | ![]() |
Default = 0 | The lowest score in the range for which the grade applies. |
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 |
|---|---|---|---|---|
GRADINGSCALEID |
uniqueidentifier | GRADINGSCALE.ID | The grading scale this grade is associated with. | |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_GRADINGSCALEGRADE_DATEADDED |
DATEADDED | ![]() |
||
IX_GRADINGSCALEGRADE_DATECHANGED |
DATECHANGED | |||
PK_GRADINGSCALEGRADE |
ID | ![]() |
![]() |
|
UIX_GRADINGSCALEGRADE_GRADINGSCALEID_GRADE |
GRADINGSCALEID, GRADE | ![]() |
| Trigger Name | Description |
|---|---|
TR_GRADINGSCALEGRADE_AUDIT_UPDATE |
|
TR_GRADINGSCALEGRADE_AUDIT_DELETE |

ID
GRADE
TSLONG
GRADINGSCALEID
IX_GRADINGSCALEGRADE_DATEADDED
IX_GRADINGSCALEGRADE_DATECHANGED