Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 NAME nvarchar(100)   Default = '' The name of the test segment.
 DESCRIPTION nvarchar(255)   Default = '' A description about the test segment.
 CODE nvarchar(10)   Default = '' A unique code that identifies the test segment.
 EXPECTEDGIFTAMOUNT money   Default = 0 The average expected gift amount per donor for the test segment.
 EXPECTEDRESPONSERATE decimal(5, 2)   Default = 0 The expected response rate for the test segment.
 QUANTITY int   Default = 0 The number of records in the test segment.
 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
 MKTSEGMENTATIONTESTSEGMENTID uniqueidentifier MKTSEGMENTATIONTESTSEGMENT.ID The existing test segment record.
 CODEPARTDEFINITIONVALUESID uniqueidentifier MKTSOURCECODEPARTDEFINITIONVALUES.ID The test segment source code part definition format value.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 BASECURRENCYID uniqueidentifier CURRENCY.ID The base currency associated with the package.

Index Name Field(s) Unique Primary Clustered
 IX_BATCHDIRECTMARKETINGEFFORTTESTSEGMENT_BASECURRENCYID BASECURRENCYID      
 IX_BATCHDIRECTMARKETINGEFFORTTESTSEGMENT_CODEPARTDEFINITIONVALUESID CODEPARTDEFINITIONVALUESID      
 IX_BATCHDIRECTMARKETINGEFFORTTESTSEGMENT_DATEADDED DATEADDED    
 IX_BATCHDIRECTMARKETINGEFFORTTESTSEGMENT_DATECHANGED DATECHANGED      
 IX_BATCHDIRECTMARKETINGEFFORTTESTSEGMENT_MKTSEGMENTATIONTESTSEGMENTID MKTSEGMENTATIONTESTSEGMENTID      
 PK_BATCHDIRECTMARKETINGEFFORTTESTSEGMENT ID  

Trigger Name Description
 TR_BATCHDIRECTMARKETINGEFFORTTESTSEGMENT_INSERTUPDATE_CURRENCY
 TR_BATCHDIRECTMARKETINGEFFORTTESTSEGMENT_AUDIT_UPDATE
 TR_BATCHDIRECTMARKETINGEFFORTTESTSEGMENT_AUDIT_DELETE

Referenced by Field
 BATCHDIRECTMARKETINGEFFORT BATCHDIRECTMARKETINGEFFORTTESTSEGMENTID

Entity-Relationship diagram of this table