REVENUELETTERMARKETING
Stores information pertaining to revenue details and their corresponding marketing letters.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| 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. |
| EXISTINGREVENUELETTER |
bit |
|
Default = 0 |
Determines whether or not the revenue letter was a pre-existing letter the user manually entered. |
Foreign Keys
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_REVENUELETTERMARKETING_DATEADDED |
DATEADDED |
|
|
yes |
| IX_REVENUELETTERMARKETING_DATECHANGED |
DATECHANGED |
|
|
|
| IX_REVENUELETTERMARKETING_MKTACKNOWLEDGEMENTMAILINGPROCESSSTATUSID_EXISTINGREVENUELETTER |
MKTACKNOWLEDGEMENTMAILINGPROCESSSTATUSID, EXISTINGREVENUELETTER |
|
|
|
| IX_REVENUELETTERMARKETING_MKTPACKAGEID |
MKTPACKAGEID |
|
|
|
| IX_REVENUELETTERMARKETING_MKTSEGMENTATIONID_MKTSEGMENTID_MKTPACKAGEID |
MKTSEGMENTATIONID, MKTSEGMENTID, MKTPACKAGEID |
|
|
|
| IX_REVENUELETTERMARKETING_MKTSEGMENTID |
MKTSEGMENTID |
|
|
|
| PK_REVENUELETTERMARKETING |
ID |
yes |
yes |
|
Triggers