COURSEGRADINGMARKINGCOLUMN
Marking columns for a grading information on a course.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
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) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
VALUESALLOWED |
nvarchar(7) (Computed) |
yes |
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 Keys
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 |
yes |
MARKINGCOLUMN.ID
|
The marking column that this course grading marking column is associated with. |
TRANSLATIONTABLEID |
uniqueidentifier |
yes |
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. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_COURSEGRADINGMARKINGCOLUMN_DATEADDED |
DATEADDED |
|
|
yes |
IX_COURSEGRADINGMARKINGCOLUMN_DATECHANGED |
DATECHANGED |
|
|
|
PK_COURSEGRADINGMARKINGCOLUMN |
ID |
yes |
yes |
|
UIX_COURSEGRADINGMARKINGCOLUMN_COURSEGRADINGID_MARKINGCOLUMNID |
COURSEGRADINGID, MARKINGCOLUMNID |
yes |
|
|
Triggers
Referenced by