EMAILADDRESS
                                        The EMAILADDRESS table stores email addresses associated with a given constituent.  
                                        Primary Key
                                        
                                            
                                                
                                                    | Primary Key | Field Type | 
                                            
                                            
                                                
                                                    | ID | uniqueidentifier | 
                                            
                                        
                                        Fields
                                        
                                            
                                                
                                                    | 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) | yes | 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) | yes | CASE [ORIGINCODE] WHEN 0 THEN N'User' WHEN 1 THEN N'Web Forms' END | Provides a translation for the 'ORIGINCODE' field. | 
                                                
                                                    | STARTDATE | datetime | yes |  | The date the email address becomes valid. | 
                                                
                                                    | ENDDATE | datetime | yes |  | The date the email address becomes invalid. | 
                                                
                                                    | ISCONFIDENTIAL | bit |  | Default = 0 |  | 
                                            
                                        
                                        Foreign Keys
                                        
                                        Indexes
                                        
                                            
                                                
                                                    | Index Name | Fields | Unique | Primary | Clustered | 
                                            
                                            
                                                
                                                    | IX_EMAILADDRESS_CONSTITUENTID_ISPRIMARY | CONSTITUENTID, ISPRIMARY |  |  |  | 
                                                
                                                    | IX_EMAILADDRESS_DATEADDED | DATEADDED |  |  | yes | 
                                                
                                                    | IX_EMAILADDRESS_DATECHANGED | DATECHANGED |  |  |  | 
                                                
                                                    | IX_EMAILADDRESS_EMAILADDRESS | EMAILADDRESS |  |  |  | 
                                                
                                                    | IX_EMAILADDRESS_ID | ID |  |  |  | 
                                                
                                                    | IX_EMAILADDRESS_RELATIONSHIPID | RELATIONSHIPID |  |  |  | 
                                                
                                                    | PK_EMAILADDRESS | ID | yes | yes |  | 
                                            
                                        
                                        Triggers
                                        
                                        Referenced by