Primary Key | Field Type |
---|---|
![]() |
uniqueidentifier |
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
bit | Default = 0 | THIS FIELD IS NO LONGER USED | |
![]() |
datetime | Default = getdate() | Indicates the date this record was added. | |
![]() |
datetime | Default = getdate() | Indicates the date this record was last changed. | |
![]() |
timestamp | Timestamp. | ||
![]() |
bigint (Computed) | ![]() |
CONVERT(bigint, TS) | Numeric representation of the timestamp. |
![]() |
tinyint | Default = 0 | The constituency type of the student status. | |
![]() |
nvarchar(7) (Computed) | ![]() |
CASE [RELATEDTOCODE] WHEN 0 THEN N'Student' WHEN 1 THEN N'Alumni' END | Provides a translation for the 'RELATEDTOCODE' field. |
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | CONSTITUENCYCODE.LOCALID | Determines what constituency the relation of the student will have. |
Index Name | Field(s) | Unique | Primary | Clustered |
---|---|---|---|---|
![]() |
DATEADDED | ![]() |
||
![]() |
DATECHANGED | |||
![]() |
ID | ![]() |
![]() |
|
![]() |
CONSTITUENCYCODEID, RELATEDTOCODE | ![]() |
Trigger Name | Description |
---|---|
![]() |
|
![]() |
|
![]() |
Referenced by | Field |
---|---|
![]() |
STUDENTRELATIONCONSTITUENCYSETTINGSID |