Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 EMAILADDRESS UDT_EMAILADDRESS   Default = '' The constituent's email address.
 ISPRIMARY bit   Default = 0 Indicates this email address is the primary email address.
 SEQUENCE int   Default = 0 Stores the user-defined sequence for email addresses on a constituent.
 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.
 DONOTEMAIL bit   Default = 0 Indicates this email address should not receive emails.
 INFOSOURCECOMMENTS nvarchar(256)   Default = '' Contains additional comments about the information source.
 ORIGINCODE tinyint   Default = 0 Defines where the address originated.
 ORIGIN nvarchar(9) (Computed) CASE [ORIGINCODE] WHEN 0 THEN N'User' WHEN 1 THEN N'Web Forms' END Provides a translation for the 'ORIGINCODE' field.
 STARTDATE datetime The date the email address becomes valid.
 ENDDATE datetime The date the email address becomes invalid.

Foreign Key Field Type Null Notes Description
 CONSTITUENTID uniqueidentifier   CONSTITUENT.LOCALID FK to CONSTITUENT
 EMAILADDRESSTYPECODEID uniqueidentifier EMAILADDRESSTYPECODE.ID FK to EMAILADDRESSTYPECODE
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 INFOSOURCECODEID uniqueidentifier INFOSOURCECODE.ID FK to INFOSOURCECODE
 RELATIONSHIPID uniqueidentifier RELATIONSHIP.ID Stores the relationship ID this email address is associated with.

Index Name Field(s) Unique Primary Clustered
 IX_EMAILADDRESS_CONSTITUENTID_ISPRIMARY CONSTITUENTID, ISPRIMARY      
 IX_EMAILADDRESS_DATEADDED DATEADDED    
 IX_EMAILADDRESS_DATECHANGED DATECHANGED      
 IX_EMAILADDRESS_EMAILADDRESS EMAILADDRESS      
 IX_EMAILADDRESS_ID ID      
 IX_EMAILADDRESS_RELATIONSHIPID RELATIONSHIPID      
 PK_EMAILADDRESS ID  

Trigger Name Description
 TR_EMAILADDRESS_AUDIT_UPDATE
 TR_EMAILADDRESS_AUDIT_DELETE
 TR_EMAILADDRESS_AUDIT_ETLDELETEDID

Referenced by Field
 BATCHCONSTITUENTUPDATEEMAILADDRESSES EMAILADDRESSID
 BATCHEVENTSPONSORSHIP EMAILADDRESSID
 DONATIONBATCH EMAILADDRESSID
 MAILPREFERENCE EMAILADDRESSID
 MAILPREFERENCEGROUPCONTACT EMAILADDRESSID
 REGISTRANTBATCH EMAILADDRESSID
 SALESORDER EMAILADDRESSID

Entity-Relationship diagram of this table