Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 RESPONDERS int   Default = 0 The number of people whose responses are attributed to the white mail segment.
 RESPONSES int   Default = 0 The number of gifts attributed to the white mail segment.
 TOTALGIFTAMOUNT money   Default = 0 The total amount of gifts attributed to the white mail segment, stored in its base currency.
 AVERAGEGIFTAMOUNT money   Default = 0 The average amount of gifts attributed to the white mail segment, stored in its base currency.
 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.
 ORGANIZATIONTOTALGIFTAMOUNT money   Default = 0 The total amount of gifts attributed to the white mail segment, stored in the organization currency.
 ORGANIZATIONAVERAGEGIFTAMOUNT money   Default = 0 The average amount of gifts attributed to the white mail segment, stored in the organization currency.

Foreign Key Field Type Null Notes Description
 ID uniqueidentifier   MKTSEGMENTWHITEMAIL.ID Primary Key.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 BASECURRENCYID uniqueidentifier CURRENCY.ID The base currency associated with this white mail segment.

Index Name Field(s) Unique Primary Clustered
 IX_MKTSEGMENTWHITEMAILCACHE_AVERAGEGIFTAMOUNT AVERAGEGIFTAMOUNT      
 IX_MKTSEGMENTWHITEMAILCACHE_BASECURRENCYID BASECURRENCYID      
 IX_MKTSEGMENTWHITEMAILCACHE_DATEADDED DATEADDED    
 IX_MKTSEGMENTWHITEMAILCACHE_DATECHANGED DATECHANGED      
 IX_MKTSEGMENTWHITEMAILCACHE_RESPONDERS RESPONDERS      
 IX_MKTSEGMENTWHITEMAILCACHE_RESPONSES RESPONSES      
 IX_MKTSEGMENTWHITEMAILCACHE_TOTALGIFTAMOUNT TOTALGIFTAMOUNT      
 PK_MKTSEGMENTWHITEMAILCACHE ID  

Trigger Name Description
 TR_MKTSEGMENTWHITEMAILCACHE_AUDIT_UPDATE
 TR_MKTSEGMENTWHITEMAILCACHE_AUDIT_DELETE
 TR_MKTSEGMENTWHITEMAILCACHE_INSERTUPDATE_CURRENCY

Entity-Relationship diagram of this table