STUDENTCHARGE (4.0SP20)

This table contains the student information of a charge record.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

STUDENTPROGRESSIONID

uniqueidentifier

true

Foreign key to the student progression table

EDUCATIONALHISTORYID

uniqueidentifier

true

Foreign key to the educational history table for the enrollment.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

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_STUDENTCHARGE_DATEADDED

DATEADDED

False

False

True

IX_STUDENTCHARGE_DATECHANGED

DATECHANGED

False

False

False

PK_STUDENTCHARGE

ID

True

True

False

Triggers
Trigger Name Description

TR_STUDENTCHARGE_AUDIT_UPDATE

TR_STUDENTCHARGE_AUDIT_DELETE