Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 GENDERCODE tinyint   Default = 0 The gender of the school.
 GENDER nvarchar(6) (Computed) CASE [GENDERCODE] WHEN 0 THEN N'Coed' WHEN 1 THEN N'Male' WHEN 2 THEN N'Female' END Provides a translation for the 'GENDERCODE' field.
 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) CONVERT(bigint, TS) Numeric representation of the timestamp.
 COMMENTCODE tinyint   Default = 1 The comment type use by the school.
 COMMENT nvarchar(16) (Computed) CASE [COMMENTCODE] WHEN 0 THEN N'Default comments' WHEN 1 THEN N'Freeform entry' END Provides a translation for the 'COMMENTCODE' field.

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

Index Name Field(s) Unique Primary Clustered
 IX_SCHOOL_DATEADDED DATEADDED    
 IX_SCHOOL_DATECHANGED DATECHANGED      
 PK_SCHOOL ID  

Trigger Name Description
 TR_SCHOOL_AUDIT_UPDATE
 TR_SCHOOL_AUDIT_DELETE

Referenced by Field
 ACADEMICCATALOGDEPARTMENT SCHOOLID
 ACADEMICYEAR SCHOOLID
 ADDREQUESTSFORMULTIPLESTUDENTSPROCESS SCHOOLID
 BILLINGGENERATETRANSACTIONSPROCESSSCHOOL SCHOOLID
 BILLINGITEMPRICEBYSCHOOL SCHOOLID
 CORECURRICULUM SCHOOLID
 COURSE SCHOOLID
 PROMOTIONSCHEDULE SCHOOLID
 SCHEDULEDATE SCHOOLID
 SCHEDULEDATEADJUSTMENT SCHOOLID
 SCHOOLGRADELEVEL SCHOOLID
 STUDENTSKILLSCHOOL SCHOOLID

Entity-Relationship diagram of this table