ACADEMICCATALOGPROGRAM
This table contains information about an affiliated educational institution's academic catalog.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
PROGRAMCODE |
tinyint |
|
Default = 0 |
The program code is a static list of that will be available for all affiliated educational institutions. |
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. |
PROGRAM |
nvarchar(13) (Computed) |
yes |
CASE [PROGRAMCODE] WHEN 0 THEN N'Undergraduate' WHEN 1 THEN N'Graduate' WHEN 2 THEN N'Doctorate' WHEN 3 THEN N'Non-degree' WHEN 4 THEN N'Other' END |
Provides a translation for the 'PROGRAMCODE' field. |
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
EDUCATIONALINSTITUTIONID |
uniqueidentifier |
|
EDUCATIONALINSTITUTION.ID
|
A foreign key to the educational institution table. |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_ACADEMICCATALOGPROGRAM_DATEADDED |
DATEADDED |
|
|
yes |
IX_ACADEMICCATALOGPROGRAM_DATECHANGED |
DATECHANGED |
|
|
|
PK_ACADEMICCATALOGPROGRAM |
ID |
yes |
yes |
|
UIX_ACADEMICCATALOGPROGRAM_EDUCATIONALINSTITUTIONID_PROGRAMCODE |
EDUCATIONALINSTITUTIONID, PROGRAMCODE |
yes |
|
|
Triggers
Referenced by