| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
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. |
FICECODE |
nvarchar(50) | Default = '' | Code issued by the US government. | |
CLASSIFICATIONCODE |
tinyint | Default = 0 | Indicates the classification of the educational institution. | |
CLASSIFICATION |
nvarchar(7) (Computed) | ![]() |
CASE [CLASSIFICATIONCODE] WHEN 0 THEN N'School' WHEN 1 THEN N'College' WHEN 2 THEN N'Other' END | Provides a translation for the 'CLASSIFICATIONCODE' field. |
NAME |
nvarchar(100) (Computed) | ![]() |
dbo.UFN_EDUCATIONALINSTITUTION_GETNAMEFROMCONSTITUENT(ID) | The name of this educational institutiton. |
ISAFFILIATED |
bit (Computed) | ![]() |
dbo.UFN_CONSTITUENT_ISSCHOOL(ID) | Denotes whether this record is of an affiliated institution. |
CITY |
nvarchar(150) (Computed) | ![]() |
dbo.UFN_EDUCATIONALINSTITUTION_GETCITYFROMCONSTITUENT(ID) | The city the institution is located. |
STATEID |
uniqueidentifier (Computed) | ![]() |
dbo.UFN_EDUCATIONALINSTITUTION_GETSTATEFROMCONSTITUENT(ID) | A foreign key to the state table. |
COUNTRYID |
uniqueidentifier (Computed) | ![]() |
dbo.UFN_EDUCATIONALINSTITUTION_GETCOUNTRYFROMCONSTITUENT(ID) | A foreign key to the country table. |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
ID |
uniqueidentifier | CONSTITUENT.LOCALID | Primary Key. | |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
TYPECODEID |
uniqueidentifier | ![]() |
EDUCATIONALHISTORYTYPECODE.ID | Type of the educational institution record. |
LOCATIONCODEID |
uniqueidentifier | ![]() |
EDUCATIONALINSTITUTIONLOCATIONCODE.ID | Location of the educational institution record. |
INFOSOURCECODEID |
uniqueidentifier | ![]() |
INFOSOURCECODE.ID | Information source of the educational institution record. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_EDUCATIONALINSTITUTION_DATEADDED |
DATEADDED | ![]() |
||
IX_EDUCATIONALINSTITUTION_DATECHANGED |
DATECHANGED | |||
PK_EDUCATIONALINSTITUTION |
ID | ![]() |
![]() |
| Referenced by | Field |
|---|---|
ACADEMICCATALOGPROGRAM |
EDUCATIONALINSTITUTIONID |
BATCHCONSTITUENT |
EDUCATIONALHISTORY_EDUCATIONALINSTITUTIONID |
BATCHCONSTITUENTEDUCATIONALINVOLVEMENT |
EDUCATIONALINSTITUTIONID |
BATCHEDUCATIONALHISTORYUPDATE |
EDUCATIONALINSTITUTIONID |
EDUCATIONALHISTORY |
EDUCATIONALINSTITUTIONID |
EDUCATIONALINVOLVEMENT |
EDUCATIONALINSTITUTIONID |
SCHOOL |
ID |

ID
DATEADDED
TSLONG
ID
IX_EDUCATIONALINSTITUTION_DATEADDED
IX_EDUCATIONALINSTITUTION_DATECHANGED