Primary Key | Field Type |
---|---|
ID | uniqueidentifier |
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
GRADED | bit | Default = 0 | Indicate whether this marking column is graded for associated grading information. | |
VALUESALLOWEDCODE | tinyint | Default = 2 | The values allowed for entering grades. These will be validated against Grades in the selected translation table. | |
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. | |
VALUESALLOWED | nvarchar(7) (Computed) | CASE [VALUESALLOWEDCODE] WHEN 1 THEN N'Grade' WHEN 2 THEN N'Numeric' WHEN 0 THEN N'Both' END | Provides a translation for the 'VALUESALLOWEDCODE' field. |
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
COURSEGRADINGID | uniqueidentifier | COURSEGRADING.ID | The grading information that this course grading marking column is associated with. | |
MARKINGCOLUMNID | uniqueidentifier | MARKINGCOLUMN.ID | The marking column that this course grading marking column is associated with. | |
TRANSLATIONTABLEID | uniqueidentifier | TRANSLATIONTABLE.ID | The translation table this course grading marking column 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_COURSEGRADINGMARKINGCOLUMN_DATEADDED | DATEADDED | |||
IX_COURSEGRADINGMARKINGCOLUMN_DATECHANGED | DATECHANGED | |||
PK_COURSEGRADINGMARKINGCOLUMN | ID | |||
UIX_COURSEGRADINGMARKINGCOLUMN_COURSEGRADINGID_MARKINGCOLUMNID | COURSEGRADINGID, MARKINGCOLUMNID |
Referenced by | Field |
---|---|
STUDENTMARKINGCOLUMNGRADE | COURSEGRADINGMARKINGCOLUMNID |