APPEALMAILINGTASK
Stores tasks for a particular appeal mailing.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
SUBJECT |
nvarchar(100) |
|
Default = '' |
|
NOTES |
nvarchar(256) |
|
Default = '' |
|
DATEDUE |
UDT_FUZZYDATE |
|
Default = '00000000' |
|
DATECOMPLETED |
datetime |
yes |
|
|
STATUSCODE |
tinyint |
|
Default = 0 |
0=Active, 1=Completed |
STATUS |
nvarchar(9) (Computed) |
yes |
CASE [STATUSCODE] WHEN 0 THEN N'Active' WHEN 1 THEN N'Completed' END |
Provides a translation for the 'STATUSCODE' field. |
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_APPEALMAILINGTASK_DATEADDED |
DATEADDED |
|
|
yes |
IX_APPEALMAILINGTASK_DATECHANGED |
DATECHANGED |
|
|
|
IX_APPEALMAILINGTASK_OWNERID |
OWNERID |
|
|
|
PK_APPEALMAILINGTASK |
ID |
yes |
yes |
|
UIX_APPEALMAILINGTASK_SEGMENTATIONID_SUBJECT |
SEGMENTATIONID, SUBJECT |
yes |
|
|
Triggers
Referenced by