Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 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.
 STARTDATE date   The start date of the grading information.
 ENDDATE date   The end date of the grading information.

Foreign Key Field Type Null Notes Description
 COURSEID uniqueidentifier COURSE.ID The course that the grading information 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_COURSEGRADING_COURSEID COURSEID      
 IX_COURSEGRADING_DATEADDED DATEADDED    
 IX_COURSEGRADING_DATECHANGED DATECHANGED      
 PK_COURSEGRADING ID  
 UIX_COURSEGRADING_STARTDATE_ENDDATE_COURSEID STARTDATE, ENDDATE, COURSEID    

Trigger Name Description
 TR_COURSEGRADING_AUDIT_UPDATE
 TR_COURSEGRADING_AUDIT_DELETE

Referenced by Field
 COURSEGRADINGMARKINGCOLUMN COURSEGRADINGID

Entity-Relationship diagram of this table