EDUCATIONALHISTORYSTATUS
Allows the user to store a set of educational history statuses for use when working with educational histories.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
DESCRIPTION |
nvarchar(100) |
|
Default = '' |
Description of this educational history status. |
ABBREVIATION |
nvarchar(1) |
|
Default = '' |
Abbreviation of this educational history status. |
CONSTITUENCYIMPLIEDCODE |
tinyint |
|
Default = 0 |
Determines what constituency to add to a record with an educational history of a given status. |
SEQUENCE |
int |
|
Default = 0 |
Sets the sequence of this item in the table. |
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. |
CONSTITUENCYIMPLIED |
nvarchar(7) (Computed) |
yes |
CASE [CONSTITUENCYIMPLIEDCODE] WHEN 0 THEN N'Student' WHEN 1 THEN N'Alumni' WHEN 2 THEN N<None> END |
Provides a translation for the 'CONSTITUENCYIMPLIEDCODE' field. |
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_EDUCATIONALHISTORYSTATUS_DATEADDED |
DATEADDED |
|
|
yes |
IX_EDUCATIONALHISTORYSTATUS_DATECHANGED |
DATECHANGED |
|
|
|
PK_EDUCATIONALHISTORYSTATUS |
ID |
yes |
yes |
|
UC_EDUCATIONALHISTORYSTATUS_ABBREVIATION |
ABBREVIATION |
yes |
|
|
UC_EDUCATIONALHISTORYSTATUS_DESCRIPTION |
DESCRIPTION |
yes |
|
|
UIX_EDUCATIONALHISTORYSTATUS_ID |
ID |
yes |
|
|
Triggers
Referenced by