BATCHEDUCATIONALHISTORYUPDATEEDUCATIONALINVOLVEMENTS

Stores educational history update batch educational involvements information.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
SEQUENCE int Default = 0
EDUCATIONALINVOLVEMENTID uniqueidentifier yes
EDUCATIONALINVOLVEMENTNAMEID uniqueidentifier
DATEFROM UDT_FUZZYDATE Default = '00000000'
DATETO UDT_FUZZYDATE Default = '00000000'
COMMENT nvarchar(max) Default = ''
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.
POSITION nvarchar(256) Default = '' The position of the constituent in relation to the involvement.

Foreign Keys

Foreign Key Field Type Null Notes Description
BATCHEDUCATIONALHISTORYUPDATEID uniqueidentifier BATCHEDUCATIONALHISTORYUPDATE.ID FK to BATCHEDUCATIONALHISTORYUPDATE
EDUCATIONALINVOLVEMENTTYPECODEID uniqueidentifier EDUCATIONALINVOLVEMENTTYPECODE.ID FK to EDUCATIONALINVOLVEMENTTYPECODE
EDUCATIONALINVOLVEMENTAWARDCODEID uniqueidentifier yes EDUCATIONINVOLVEMENTAWARDCODE.ID FK to EDUCATIONINVOLVEMENTAWARDCODE
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_BATCHEDUCATIONALHISTORYUPDATEEDUCATIONALINVOLVEMENTS_BATCHEDUCATIONALHISTORYUPDATEID BATCHEDUCATIONALHISTORYUPDATEID
IX_BATCHEDUCATIONALHISTORYUPDATEEDUCATIONALINVOLVEMENTS_DATEADDED DATEADDED yes
IX_BATCHEDUCATIONALHISTORYUPDATEEDUCATIONALINVOLVEMENTS_DATECHANGED DATECHANGED
PK_BATCHEDUCATIONALHISTORYUPDATEEDUCATIONALINVOLVEMENTS ID yes yes

Triggers

Trigger Name Description
TR_BATCHEDUCATIONALHISTORYUPDATEEDUCATIONALINVOLVEMENTS_AUDIT_UPDATE
TR_BATCHEDUCATIONALHISTORYUPDATEEDUCATIONALINVOLVEMENTS_AUDIT_DELETE