CLASSASSIGNMENT (4.0SP20)

This table contains information about the assignments associated with classes.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

CLASSID

uniqueidentifier

false

A foreign key to the class table.

ASSIGNMENTID

uniqueidentifier

false

A foreign key to the assignment table.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

STUDENTDUEDATE

datetime

true

Due Date for the student to complete assignment.

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_CLASSASSIGNMENT_DATEADDED

DATEADDED

False

False

True

IX_CLASSASSIGNMENT_DATECHANGED

DATECHANGED

False

False

False

PK_CLASSASSIGNMENT

ID

True

True

False

UIX_CLASSASSIGNMENT_CLASSID_ASSIGNMENTID

CLASSID

ASSIGNMENTID

True

False

False

Triggers
Trigger Name Description

TR_CLASSASSIGNMENT_AUDIT_UPDATE

TR_CLASSASSIGNMENT_AUDIT_DELETE