Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 EMAILLISTMAPID int   Default = 0 NetCommunity email list ID.
 EMAILLISTNAME nvarchar(50)   Default = '' Name given to the NetCommunity email list.
 SUBSCRIBED bit   Default = 0 Indicates that the user was subscribed to the email list when the email was sent.
 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.
 UPDATEDATE datetime Time the NetCommunity email list subscription was updated.

Foreign Key Field Type Null Notes Description
 NETCOMMUNITYCLIENTUSERID uniqueidentifier NETCOMMUNITYCLIENTUSER.ID NetCommunity user subscribed to the newsletter.
 LATESTEMAILJOBRECIPIENTID uniqueidentifier NETCOMMUNITYEMAILJOBRECIPIENT.ID Newsletter issue most recently sent.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CONSTITUENTID uniqueidentifier CONSTITUENT.LOCALID Constituent subscribed to the newsletter.

Index Name Field(s) Unique Primary Clustered
 IX_NETCOMMUNITYNEWSLETTERSUBSCRIPTION_CONSTITUENTID CONSTITUENTID      
 IX_NETCOMMUNITYNEWSLETTERSUBSCRIPTION_DATEADDED DATEADDED    
 IX_NETCOMMUNITYNEWSLETTERSUBSCRIPTION_DATECHANGED DATECHANGED      
 IX_NETCOMMUNITYNEWSLETTERSUBSCRIPTION_LATESTEMAILJOBRECIPIENTID LATESTEMAILJOBRECIPIENTID      
 IX_NETCOMMUNITYNEWSLETTERSUBSCRIPTION_NETCOMMUNITYCLIENTUSERID NETCOMMUNITYCLIENTUSERID      
 PK_NETCOMMUNITYNEWSLETTERSUBSCRIPTION ID  

Trigger Name Description
 TR_NETCOMMUNITYNEWSLETTERSUBSCRIPTION_AUDIT_UPDATE
 TR_NETCOMMUNITYNEWSLETTERSUBSCRIPTION_AUDIT_DELETE

Entity-Relationship diagram of this table