EDUCATIONALMINOR

Contains a constituent's educational minor history.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
COMMENT nvarchar(255) Default = '' Any comments about the constituent's minor.
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.

Foreign Keys

Foreign Key Field Type Null Notes Description
EDUCATIONALHISTORYID uniqueidentifier EDUCATIONALHISTORY.ID FK to EDUCATIONALHISTORY
EDUCATIONALMAJORCODEID uniqueidentifier EDUCATIONALMAJORCODE.ID Constituent's minor in the educational institution.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_EDUCATIONALMINOR_DATEADDED DATEADDED yes
IX_EDUCATIONALMINOR_DATECHANGED DATECHANGED
PK_EDUCATIONALMINOR ID yes yes

Triggers

Trigger Name Description
TR_EDUCATIONALMINOR_AUDIT_UPDATE
TR_EDUCATIONALMINOR_AUDIT_DELETE