MKTACKNOWLEDGEMENTMAILINGTEMPLATEFILTERSELECTION
Stores information pertaining to the selections in marketing acknowledgement template's universe and its exclusion filters.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| FILTERTYPECODE |
tinyint |
|
Default = 0 |
The type of marketing acknowledgement template selection filter. |
| 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. |
| FILTERTYPE |
nvarchar(9) (Computed) |
yes |
CASE [FILTERTYPECODE] WHEN 1 THEN N'Universe' WHEN 2 THEN N'Exclusion' END |
Provides a translation for the 'FILTERTYPECODE' field. |
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| ACKNOWLEDGEMENTMAILINGTEMPLATEID |
uniqueidentifier |
|
MKTACKNOWLEDGEMENTMAILINGTEMPLATE.ID
|
The marketing acknowledgement template the filter belongs to. |
| SELECTIONID |
uniqueidentifier |
yes |
IDSETREGISTER.ID
|
The selection that is used for the filter. |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_MKTACKNOWLEDGEMENTMAILINGTEMPLATEFILTERSELECTION_DATEADDED |
DATEADDED |
|
|
yes |
| IX_MKTACKNOWLEDGEMENTMAILINGTEMPLATEFILTERSELECTION_DATECHANGED |
DATECHANGED |
|
|
|
| IX_MKTACKNOWLEDGEMENTMAILINGTEMPLATEFILTERSELECTION_SELECTIONID |
SELECTIONID |
|
|
|
| PK_MKTACKNOWLEDGEMENTMAILINGTEMPLATEFILTERSELECTION |
ID |
yes |
yes |
|
| UIX_MKTACKNOWLEDGEMENTMAILINGTEMPLATEFILTERSELECTION_ACKNOWLEDGEMENTMAILINGTEMPLATEID_SELECTIONID |
ACKNOWLEDGEMENTMAILINGTEMPLATEID, SELECTIONID |
yes |
|
|
Triggers