MKTSEGMENTATIONBUSINESSUNIT (3.0)

This table stores the business units associated with a marketing effort.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

MKTSEGMENTATIONID

uniqueidentifier

false

FK to MKTSEGMENTATION

BUSINESSUNITCODEID

uniqueidentifier

false

FK to BUSINESSUNITCODE

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

PERCENTVALUE

decimal(20, 4)

false

100

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_MKTSEGMENTATIONBUSINESSUNIT_DATEADDED

DATEADDED

False

False

True

IX_MKTSEGMENTATIONBUSINESSUNIT_DATECHANGED

DATECHANGED

False

False

False

PK_MKTSEGMENTATIONBUSINESSUNIT

ID

True

True

False

UIX_MKTSEGMENTATIONBUSINESSUNIT_MKTSEGMENTATIONID_BUSINESSUNITCODEID

MKTSEGMENTATIONID

BUSINESSUNITCODEID

True

False

False

Triggers
Trigger Name Description

TR_MKTSEGMENTATIONBUSINESSUNIT_AUDIT_UPDATE

TR_MKTSEGMENTATIONBUSINESSUNIT_AUDIT_DELETE