GRADELEVEL

Describes the grade levels used throughout the system for tracking education information.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
DESCRIPTION nvarchar(100) Default = '' This is the description of the grade level.
ABBREVIATION nvarchar(10) Default = '' The abbreviation on the grade level description.
SEQUENCE int Default = 0 Allows the user to sequence the grade level entries.
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.

Foreign Keys

Foreign Key Field Type Null Notes Description
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_GRADELEVEL_DATEADDED DATEADDED yes
IX_GRADELEVEL_DATECHANGED DATECHANGED
PK_GRADELEVEL ID yes yes
UC_GRADELEVEL_ABBREVIATION ABBREVIATION yes
UC_GRADELEVEL_DESCRIPTION DESCRIPTION yes
UIX_GRADELEVEL_SEQUENCE SEQUENCE yes

Triggers

Trigger Name Description
TR_GRADELEVEL_AUDIT_UPDATE
TR_GRADELEVEL_AUDIT_DELETE

Referenced by

Referenced by Field
BILLINGITEMPRICEBYGRADELEVEL GRADELEVELID
EDUCATIONALHISTORY GRADELEVELENROLLEDID
EDUCATIONALHISTORY GRADELEVELLEFTID
SCHOOLGRADELEVEL GRADELEVELID
STUDENTSKILLGRADELEVEL GRADELEVELID