MKTSEGMENTATIONACTIVATE
Stores information pertaining to an activated marketing effort.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
APPEALSYSTEMID |
nvarchar(36) |
|
Default = '' |
The existing appeal system ID from the source system, if one was chosen, that will be used for activating the gifts in the record source. |
APPEALID |
nvarchar(100) |
|
Default = '' |
The user-defined ID of a new appeal to create in the source system that will be used for activating the gifts in the record source. |
APPEALDESCRIPTION |
nvarchar(255) |
|
Default = '' |
The description of a new appeal to create in the source system that will be used for activating the gifts in the record source. |
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 |
SEGMENTATIONID |
uniqueidentifier |
|
MKTSEGMENTATION.ID
|
The marketing effort this activation criteria belongs to. |
RECORDSOURCEID |
uniqueidentifier |
|
MKTRECORDSOURCE.ID
|
The record source for the gift criteria. |
NORMALGIFTIDSETREGISTERID |
uniqueidentifier |
yes |
IDSETREGISTER.ID
|
The normal gift ID set ID associated with this activation record source. |
UNRESOLVEDGIFTIDSETREGISTERID |
uniqueidentifier |
yes |
IDSETREGISTER.ID
|
The unresolved gift ID set ID associated with this activation record source. |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_MKTSEGMENTATIONACTIVATE_APPEALSYSTEMID |
APPEALSYSTEMID |
|
|
|
IX_MKTSEGMENTATIONACTIVATE_DATEADDED |
DATEADDED |
|
|
yes |
IX_MKTSEGMENTATIONACTIVATE_DATECHANGED |
DATECHANGED |
|
|
|
IX_MKTSEGMENTATIONACTIVATE_NORMALGIFTIDSETREGISTERID |
NORMALGIFTIDSETREGISTERID |
|
|
|
IX_MKTSEGMENTATIONACTIVATE_RECORDSOURCEID |
RECORDSOURCEID |
|
|
|
IX_MKTSEGMENTATIONACTIVATE_SEGMENTATIONID_RECORDSOURCEID |
SEGMENTATIONID, RECORDSOURCEID |
|
|
|
IX_MKTSEGMENTATIONACTIVATE_UNRESOLVEDGIFTIDSETREGISTERID |
UNRESOLVEDGIFTIDSETREGISTERID |
|
|
|
PK_MKTSEGMENTATIONACTIVATE |
ID |
yes |
yes |
|
Triggers