SCHOOLGRADELEVEL (4.0SP20)

Stores the grade levels associated with a given school.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

SCHOOLID

uniqueidentifier

false

The school for which this grade level is allowed.

GRADELEVELID

uniqueidentifier

false

The grade level which to associate with the school.

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_SCHOOLGRADELEVEL_DATEADDED

DATEADDED

False

False

True

IX_SCHOOLGRADELEVEL_DATECHANGED

DATECHANGED

False

False

False

PK_SCHOOLGRADELEVEL

ID

True

True

False

UIX_SCHOOLGRADELEVEL_SCHOOLID_GRADELEVELID

SCHOOLID

GRADELEVELID

True

False

False

Triggers
Trigger Name Description

TR_SCHOOLGRADELEVEL_AUDIT_UPDATE

TR_SCHOOLGRADELEVEL_AUDIT_DELETE

Referenced by
Referenced by Field

CORECURRICULUM

SCHOOLGRADELEVELID

COURSEGRADELEVEL

SCHOOLGRADELEVELID

PROMOTIONSCHEDULE

NEXTSCHOOLGRADELEVELID

PROMOTIONSCHEDULEENTRY

SCHOOLGRADELEVELID

PROMOTIONSCHEDULEENTRY

NEXTSCHOOLGRADELEVELID

STUDENTPROGRESSION

SCHOOLGRADELEVELID