BATCHDIRECTMARKETINGEFFORTTESTSEGMENT
Stores test segment information for Direct Marketing Effort batches.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
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) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
MKTSEGMENTATIONTESTSEGMENTID |
uniqueidentifier |
yes |
MKTSEGMENTATIONTESTSEGMENT.ID
|
The existing test segment record. |
CODEPARTDEFINITIONVALUESID |
uniqueidentifier |
yes |
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 |
yes |
CURRENCY.ID
|
The base currency associated with the package. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_BATCHDIRECTMARKETINGEFFORTTESTSEGMENT_BASECURRENCYID |
BASECURRENCYID |
|
|
|
IX_BATCHDIRECTMARKETINGEFFORTTESTSEGMENT_CODEPARTDEFINITIONVALUESID |
CODEPARTDEFINITIONVALUESID |
|
|
|
IX_BATCHDIRECTMARKETINGEFFORTTESTSEGMENT_DATEADDED |
DATEADDED |
|
|
yes |
IX_BATCHDIRECTMARKETINGEFFORTTESTSEGMENT_DATECHANGED |
DATECHANGED |
|
|
|
IX_BATCHDIRECTMARKETINGEFFORTTESTSEGMENT_MKTSEGMENTATIONTESTSEGMENTID |
MKTSEGMENTATIONTESTSEGMENTID |
|
|
|
PK_BATCHDIRECTMARKETINGEFFORTTESTSEGMENT |
ID |
yes |
yes |
|
Triggers
Referenced by