MKTSEGMENTGROUP
Stores information pertaining to a segment group.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| NAME |
nvarchar(100) |
|
Default = '' |
A name for the group of segments. |
| 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. |
| SEGMENTFAMILYTYPECODE |
tinyint (Computed) |
yes |
dbo.[UFN_MKTSEGMENTGROUP_GETSEGMENTFAMILYTYPECODE]([ID]) |
The type of segment, direct or public media, that can belong to this group. |
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| BASECURRENCYID |
uniqueidentifier |
yes |
CURRENCY.ID
|
The base currency associated with this group. |
| SITEID |
uniqueidentifier |
yes |
SITE.ID
|
The site to which this segment group belongs. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_MKTSEGMENTGROUP_BASECURRENCYID |
BASECURRENCYID |
|
|
|
| IX_MKTSEGMENTGROUP_DATEADDED |
DATEADDED |
|
|
yes |
| IX_MKTSEGMENTGROUP_DATECHANGED |
DATECHANGED |
|
|
|
| PK_MKTSEGMENTGROUP |
ID |
yes |
yes |
|
| UC_MKTSEGMENTGROUP_NAME |
NAME |
yes |
|
|
Triggers
Referenced by