Stores media target categories for action item
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
CATEGORY |
nvarchar(250) |
|
Default = '' |
Category |
SENDTYPECODE |
tinyint |
|
Default = 0 |
Send Type |
SENDTYPE |
nvarchar(2) (Computed) |
yes |
CASE [SENDTYPECODE] WHEN 0 THEN N'To' WHEN 1 THEN N'CC' END |
Provides a translation for the 'SENDTYPECODE' 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
Foreign Key |
Field Type |
Null |
Notes |
Description |
ACTIONITEMID |
uniqueidentifier |
|
ACTION_ITEM.ID
|
Action Item ID |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_ACTIONITEMMEDIATARGET_ACTIONITEMID |
ACTIONITEMID |
|
|
|
IX_ACTIONITEMMEDIATARGET_DATEADDED |
DATEADDED |
|
|
yes |
IX_ACTIONITEMMEDIATARGET_DATECHANGED |
DATECHANGED |
|
|
|
PK_ACTIONITEMMEDIATARGET |
ID |
yes |
yes |
|
Triggers