Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 DATEFROM date
 DATETO date
 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.
 SEQUENCE int   Default = 0

Foreign Key Field Type Null Notes Description
 BATCHCONSTITUENTID uniqueidentifier   BATCHCONSTITUENT.ID FK to BATCHCONSTITUENT
 CONSTITUENCYCODEID uniqueidentifier   CONSTITUENCYCODE.LOCALID FK to CONSTITUENCYCODE
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_BATCHCONSTITUENTCONSTITUENCY_BATCHCONSTITUENTID BATCHCONSTITUENTID      
 IX_BATCHCONSTITUENTCONSTITUENCY_DATEADDED DATEADDED    
 IX_BATCHCONSTITUENTCONSTITUENCY_DATECHANGED DATECHANGED      
 PK_BATCHCONSTITUENTCONSTITUENCY ID  

Trigger Name Description
 TR_BATCHCONSTITUENTCONSTITUENCY_AUDIT_UPDATE
 TR_BATCHCONSTITUENTCONSTITUENCY_AUDIT_DELETE

Entity-Relationship diagram of this table