COURSERESTRICTIONSTARTTERM (4.0SP17)

This table contains start and end dates for terms in which a course is restricted to start.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

COURSERESTRICTIONID

uniqueidentifier

false

FK to COURSERESTRICTION

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

STARTDATE

datetime

false

ENDDATE

datetime

false

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_COURSERESTRICTIONSTARTTERM_DATEADDED

DATEADDED

False

False

True

IX_COURSERESTRICTIONSTARTTERM_DATECHANGED

DATECHANGED

False

False

False

PK_COURSERESTRICTIONSTARTTERM

ID

True

True

False

UIX_COURSERESTRICTIONSTARTTERM_STARTDATE_ENDDATE_COURSERESTRICTIONID

STARTDATE

ENDDATE

COURSERESTRICTIONID

True

False

False

Triggers
Trigger Name Description

TR_COURSERESTRICTIONSTARTTERM_INSERTDELETE_DELETECOURSEGRADINGMARKINGCOLUMN

TR_COURSERESTRICTIONSTARTTERM_AUDIT_UPDATE

TR_COURSERESTRICTIONSTARTTERM_AUDIT_DELETE