MKTVENDORSERVICETYPE
Stores information about the system-defined services a vendor provides.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| SERVICETYPECODE |
tinyint |
|
Default = 0 |
The service provided by the vendor. |
| 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. |
| SERVICETYPE |
nvarchar(21) (Computed) |
yes |
CASE [SERVICETYPECODE] WHEN 0 THEN N'Unspecified' WHEN 1 THEN N'Creatives' WHEN 2 THEN N'Lists' WHEN 3 THEN N'Public media segments' END |
Provides a translation for the 'SERVICETYPECODE' field. |
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| VENDORID |
uniqueidentifier |
|
VENDOR.ID
|
The ID of the vendor providing this service. |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_MKTVENDORSERVICETYPE_DATEADDED |
DATEADDED |
|
|
yes |
| IX_MKTVENDORSERVICETYPE_DATECHANGED |
DATECHANGED |
|
|
|
| PK_MKTVENDORSERVICETYPE |
ID |
yes |
yes |
|
| UIX_MKTVENDORSERVICETYPE_VENDORID_SERVICETYPECODE |
VENDORID, SERVICETYPECODE |
yes |
|
|
Triggers