PROSPECTSEGMENTATION (4.0SP14)

This table contains instances of the Prospect Analysis Prospect Segmentation dashboard.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

OWNERID

uniqueidentifier

true

Foreign key to the appuser who created the Prospect Segmentation.

RESEARCHGROUPID

uniqueidentifier

true

Foreign key to the research group that is associated with the Prospect Segmentation.

IDSETREGISTERID

uniqueidentifier

true

Foreign key to the selection that is associated with the Prospect Segmentation.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

NAME

nvarchar(100)

false

''

The name of the Prospect Segmentation.

DESCRIPTION

nvarchar(255)

false

''

The description of the Prospect Segmentation.

OTHERSCANMODIFY

bit

false

1

Indicates whether users other than the owner can make changes to the Prospect Segmentation.

STATUSCODE

tinyint

false

1

0=Ready, 1=Update required

STATUS

nvarchar(15) (Computed)

true

Provides a translation for the 'STATUSCODE' field.

DATEUPDATED

datetime

true

Date of the last update of the Prospect Segmentation.

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_PROSPECTSEGMENTATION_DATEADDED

DATEADDED

False

False

True

IX_PROSPECTSEGMENTATION_DATECHANGED

DATECHANGED

False

False

False

PK_PROSPECTSEGMENTATION

ID

True

True

False

UIX_PROSPECTSEGMENTATION_NAME

NAME

True

False

False

Triggers
Trigger Name Description

TR_PROSPECTSEGMENTATION_AUDIT_UPDATE

TR_PROSPECTSEGMENTATION_AUDIT_DELETE

Referenced by
Referenced by Field

PROSPECTSEGMENTATIONVARIABLE

PROSPECTSEGMENTATIONID