CLASS (4.0SP14)

This table contains information about a class. A class is an instance of a course.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

COURSEID

uniqueidentifier

false

A foreign key to the course table.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

NAME

nvarchar(60)

false

''

Name of the Class.

SECTION

nvarchar(20)

false

''

Class section.

STARTDATE

date

false

This is the first date covered by this class.

ENDDATE

date

false

This is the last date covered by this class.

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.

CLASSSIZEMINIMUM

smallint

false

((0))

CLASSSIZETARGET

smallint

false

((0))

CLASSSIZEMAXIMUM

smallint

false

((0))

CLASSESPERTERMMINIMUM

smallint

false

((0))

CLASSESPERTERMTARGET

smallint

false

((0))

CLASSESPERTERMMAXIMUM

smallint

false

((0))

USECATEGORYPERCENTAGES

bit

false

0

Indicates whether the class is graded using category percentages or total points.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_CLASS_DATEADDED

DATEADDED

False

False

True

IX_CLASS_DATECHANGED

DATECHANGED

False

False

False

PK_CLASS

ID

True

True

False

Triggers
Trigger Name Description

TR_CLASS_AUDIT_UPDATE

TR_CLASS_AUDIT_DELETE

Referenced by
Referenced by Field

CLASSASSIGNMENT

CLASSID

CLASSCATEGORY

CLASSID

CLASSMEETINGGROUP

CLASSID