STUDENTSKILLRATING

The rating table describes scores available for student skills.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
NAME nvarchar(60) Default = '' Name of the rating.
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.
RATING nvarchar(2) Default = '' The abbreviation of the rating description.
SEQUENCE int Default = 0 Allows the user to sequence the rating entries.

Foreign Keys

Foreign Key Field Type Null Notes Description
STUDENTSKILLRATINGGROUPID uniqueidentifier STUDENTSKILLRATINGGROUP.ID A foreign key to the student skill ratings group table.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_STUDENTSKILLRATING_DATEADDED DATEADDED yes
IX_STUDENTSKILLRATING_DATECHANGED DATECHANGED
PK_STUDENTSKILLRATING ID yes yes
UIX_STUDENTSKILLRATING_STUDENTSKILLRATINGGROUPID_NAME STUDENTSKILLRATINGGROUPID, NAME yes
UIX_STUDENTSKILLRATING_STUDENTSKILLRATINGGROUPID_RATING STUDENTSKILLRATINGGROUPID, RATING yes
UIX_STUDENTSKILLRATING_STUDENTSKILLRATINGGROUPID_SEQUENCE STUDENTSKILLRATINGGROUPID, SEQUENCE yes

Triggers

Trigger Name Description
TR_STUDENTSKILLRATING_AUDIT_UPDATE
TR_STUDENTSKILLRATING_AUDIT_DELETE

Referenced by

Referenced by Field
PERFORMANCECATEGORYLEVELSKILLCATEGORYRATING LOWESTSTUDENTSKILLRATINGID
PERFORMANCECATEGORYLEVELSKILLCATEGORYRATING HIGHESTSTUDENTSKILLRATINGID