APPEALMAILINGACTIVATEPROCESSOFFERCOUNT
Stores offer counts by channel for segmentation activate process runs.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
CHANNELCODE |
tinyint |
|
Default = 0 |
0=Mail, 1=Email, 2=Phone, 3=Public media |
CHANNEL |
nvarchar(12) (Computed) |
yes |
CASE [CHANNELCODE] WHEN 0 THEN N'Mail' WHEN 1 THEN N'Email' WHEN 2 THEN N'Phone' WHEN 3 THEN N'Public media' END |
Provides a translation for the 'CHANNELCODE' field. |
OFFERCOUNT |
int |
|
Default = 0 |
|
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
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_APPEALMAILINGACTIVATEPROCESSOFFERCOUNT_DATEADDED |
DATEADDED |
|
|
yes |
IX_APPEALMAILINGACTIVATEPROCESSOFFERCOUNT_DATECHANGED |
DATECHANGED |
|
|
|
PK_APPEALMAILINGACTIVATEPROCESSOFFERCOUNT |
ID |
yes |
yes |
|
Triggers