MARKINGCOLUMN

This table contains information about a marking column.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
DISPLAYNAME nvarchar(10) Default = '' The short display name of the marking column.
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.
ALLTERMS bit Default = 1 Marking column is associated with all terms.
SEQUENCE int Default = 0 Allows the user to sequence the marking column set.

Foreign Keys

Foreign Key Field Type Null Notes Description
MARKINGCOLUMNSETID uniqueidentifier MARKINGCOLUMNSET.ID The marking column set to which this marking column belongs.
MARKINGCOLUMNDESCRIPTIONCODEID uniqueidentifier MARKINGCOLUMNDESCRIPTIONCODE.ID Description of the marking column.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_MARKINGCOLUMN_DATEADDED DATEADDED yes
IX_MARKINGCOLUMN_DATECHANGED DATECHANGED
PK_MARKINGCOLUMN ID yes yes
UIX_MARKINGCOLUMN_MARKINGCOLUMNSETID_DISPLAYNAME MARKINGCOLUMNSETID, DISPLAYNAME yes
UIX_MARKINGCOLUMN_MARKINGCOLUMNSETID_MARKINGCOLUMNDESCRIPTIONCODEID MARKINGCOLUMNSETID, MARKINGCOLUMNDESCRIPTIONCODEID yes
UIX_MARKINGCOLUMN_MARKINGCOLUMNSETID_SEQUENCE MARKINGCOLUMNSETID, SEQUENCE yes

Triggers

Trigger Name Description
TR_MARKINGCOLUMN_AUDIT_UPDATE
TR_MARKINGCOLUMN_AUDIT_DELETE

Referenced by

Referenced by Field
COURSEGRADINGMARKINGCOLUMN MARKINGCOLUMNID
MARKINGCOLUMNTERM MARKINGCOLUMNID