Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 ALTERNATELOOKUPID nvarchar(100)   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) CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Key Field Type Null Notes Description
 CONSTITUENTID uniqueidentifier   CONSTITUENT.LOCALID FK to CONSTITUENT
 ALTERNATELOOKUPIDTYPECODEID uniqueidentifier   ALTERNATELOOKUPIDTYPECODE.ID FK to ALTERNATELOOKUPIDTYPECODE
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_ALTERNATELOOKUPID_CONSTITUENTID CONSTITUENTID      
 IX_ALTERNATELOOKUPID_DATEADDED DATEADDED    
 IX_ALTERNATELOOKUPID_DATECHANGED DATECHANGED      
 PK_ALTERNATELOOKUPID ID  
 UIX_ALTERNATELOOKUPID_ALTERNATELOOKUPID_ALTERNATELOOKUPIDTYPECODEID ALTERNATELOOKUPID, ALTERNATELOOKUPIDTYPECODEID    
 UIX_ALTERNATELOOKUPID_ALTERNATELOOKUPIDTYPECODEID_ALTERNATELOOKUPID ALTERNATELOOKUPIDTYPECODEID, ALTERNATELOOKUPID    

Trigger Name Description
 TR_ALTERNATELOOKUPID_AUDIT_UPDATE
 TR_ALTERNATELOOKUPID_AUDIT_DELETE

Referenced by Field
 BATCHCONSTITUENTUPDATEALTERNATELOOKUPIDS ORIGINALALTERNATELOOKUPID
 BATCHCONSTITUENTUPDATESPOUSEALTERNATELOOKUPIDS ORIGINALALTERNATELOOKUPID

Entity-Relationship diagram of this table