Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 MERGERDATE date   Date of the organization merger.
 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) CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Key Field Type Null Notes Description
 SOURCEORG1ID uniqueidentifier   CONSTITUENT.LOCALID ID of the primary organization in the merger.
 SOURCEORG2ID uniqueidentifier CONSTITUENT.LOCALID ID of the secondary organization in the merger.
 NEWORGID uniqueidentifier   CONSTITUENT.LOCALID ID of new organization that was created in the merger or ID of the primary organization into which the secondary was merged.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_ORGANIZATIONMERGERHISTORY_DATEADDED DATEADDED    
 IX_ORGANIZATIONMERGERHISTORY_DATECHANGED DATECHANGED      
 IX_ORGANIZATIONMERGERHISTORY_NEWORGID NEWORGID      
 IX_ORGANIZATIONMERGERHISTORY_SOURCEORG1ID SOURCEORG1ID      
 IX_ORGANIZATIONMERGERHISTORY_SOURCEORG2ID SOURCEORG2ID      
 PK_ORGANIZATIONMERGERHISTORY ID  

Trigger Name Description
 TR_ORGANIZATIONMERGERHISTORY_AUDIT_UPDATE
 TR_ORGANIZATIONMERGERHISTORY_AUDIT_DELETE

Entity-Relationship diagram of this table