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 datetime   The date a skill can begin being used.
 ENDDATE datetime The date a skill can stop being used.
 SEQUENCE int   Default = 0 Allows the user to sequence the skills on a course.

Foreign Key Field Type Null Notes Description
 COURSEID uniqueidentifier   COURSE.ID The course using this skill.
 STUDENTSKILLID uniqueidentifier   STUDENTSKILL.ID The skill being linked to.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_STUDENTSKILLCOURSE_DATEADDED DATEADDED    
 IX_STUDENTSKILLCOURSE_DATECHANGED DATECHANGED      
 PK_STUDENTSKILLCOURSE ID  
 UIX_STUDENTSKILLCOURSE_SEQUENCE_COURSEID SEQUENCE, COURSEID    
 UIX_STUDENTSKILLCOURSE_STUDENTSKILLID_COURSEID STUDENTSKILLID, COURSEID    

Trigger Name Description
 TR_STUDENTSKILLCOURSE_AUDIT_UPDATE
 TR_STUDENTSKILLCOURSE_AUDIT_DELETE

Referenced by Field
 STUDENTSKILLCOURSEMARKINGCOLUMN STUDENTSKILLCOURSEID

Entity-Relationship diagram of this table