| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
NAME |
nvarchar(100) | Default = '' | A name for the creative. | |
DESCRIPTION |
nvarchar(255) | Default = '' | A description about the creative. | |
COST |
money | Default = 0 | The cost of the creative. | |
FILENAME |
nvarchar(255) | Default = '' | If the associated document is attached, this is its original file name. | |
FILE |
varbinary | ![]() |
If the associated document is attached, it is stored here. | |
FILETHUMBNAIL |
varbinary | ![]() |
If the associated document is attached, its thumbnail is stored here. | |
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) | ![]() |
CONVERT(bigint, TS) | Numeric representation of the timestamp. |
FILEURL |
UDT_WEBADDRESS | Default = '' | If the associated document is linked, this is its URL. | |
COSTDISTRIBUTIONMETHODCODE |
tinyint | Default = 0 | The method to be used to apply the creative's base cost to a marketing effort. | |
ORGANIZATIONCOST |
money | Default = 0 | The amount of the cost in organization currency. | |
COSTDISTRIBUTIONMETHOD |
nvarchar(39) (Computed) | ![]() |
CASE [COSTDISTRIBUTIONMETHODCODE] WHEN 0 THEN N'Per piece' WHEN 1 THEN N'Per response' WHEN 2 THEN N'Per marketing effort' WHEN 4 THEN N'Per thousand' WHEN 3 THEN N'Do not include in marketing effort cost' END |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
VENDORID |
uniqueidentifier | ![]() |
VENDOR.ID | The vendor to which this creative belongs. |
CREATIVETYPECODEID |
uniqueidentifier | ![]() |
MKTCREATIVETYPECODE.ID | The type of creative. |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
SITEID |
uniqueidentifier | ![]() |
SITE.ID | The site to which this creative belongs. |
BASECURRENCYID |
uniqueidentifier | ![]() |
CURRENCY.ID | The base currency associated with this creative. |
CURRENCYEXCHANGERATEID |
uniqueidentifier | ![]() |
CURRENCYEXCHANGERATE.ID | The exchange rate used to convert from amount to organization amount. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_MKTCREATIVE_BASECURRENCYID |
BASECURRENCYID | |||
IX_MKTCREATIVE_CURRENCYEXCHANGERATEID |
CURRENCYEXCHANGERATEID | |||
IX_MKTCREATIVE_DATEADDED |
DATEADDED | ![]() |
||
IX_MKTCREATIVE_DATECHANGED |
DATECHANGED | |||
IX_MKTCREATIVE_SITEID |
SITEID | |||
IX_MKTCREATIVE_VENDORID |
VENDORID | |||
PK_MKTCREATIVE |
ID | ![]() |
![]() |
|
UC_MKTCREATIVE_NAME |
NAME | ![]() |
| Trigger Name | Description |
|---|---|
TR_MKTCREATIVE_IU_ORGANIZATIONCOST |
|
TR_MKTCREATIVE_AUDIT_UPDATE |
|
TR_MKTCREATIVE_AUDIT_DELETE |
| Referenced by | Field |
|---|---|
MKTCREATIVEATTACHMENT |
CREATIVEID |
MKTPACKAGE |
CREATIVEID |
MKTPACKAGECREATIVE |
CREATIVEID |

ID
NAME
TSLONG
VENDORID
IX_MKTCREATIVE_BASECURRENCYID
IX_MKTCREATIVE_DATEADDED