| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
NAME |
nvarchar(100) | Default = '' | The name of the Prospect Segmentation. | |
DESCRIPTION |
nvarchar(255) | Default = '' | The description of the Prospect Segmentation. | |
OTHERSCANMODIFY |
bit | Default = 1 | Indicates whether users other than the owner can make changes to the Prospect Segmentation. | |
STATUSCODE |
tinyint | Default = 1 | 0=Ready, 1=Update required | |
STATUS |
nvarchar(15) (Computed) | ![]() |
CASE [STATUSCODE] WHEN 0 THEN N'Ready' WHEN 1 THEN N'Update required' END | Provides a translation for the 'STATUSCODE' field. |
DATEUPDATED |
datetime | ![]() |
Date of the last update of the Prospect Segmentation. | |
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. |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
OWNERID |
uniqueidentifier | ![]() |
APPUSER.ID | Foreign key to the appuser who created the Prospect Segmentation. |
RESEARCHGROUPID |
uniqueidentifier | ![]() |
RESEARCHGROUP.ID | Foreign key to the research group that is associated with the Prospect Segmentation. |
IDSETREGISTERID |
uniqueidentifier | ![]() |
IDSETREGISTER.ID | Foreign key to the selection that is associated with the Prospect Segmentation. |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_PROSPECTSEGMENTATION_DATEADDED |
DATEADDED | ![]() |
||
IX_PROSPECTSEGMENTATION_DATECHANGED |
DATECHANGED | |||
PK_PROSPECTSEGMENTATION |
ID | ![]() |
![]() |
|
UIX_PROSPECTSEGMENTATION_NAME |
NAME | ![]() |
| Trigger Name | Description |
|---|---|
TR_PROSPECTSEGMENTATION_AUDIT_UPDATE |
|
TR_PROSPECTSEGMENTATION_AUDIT_DELETE |
| Referenced by | Field |
|---|---|
PROSPECTSEGMENTATIONVARIABLE |
PROSPECTSEGMENTATIONID |

ID
NAME
STATUS
OWNERID
IX_PROSPECTSEGMENTATION_DATEADDED
IX_PROSPECTSEGMENTATION_DATECHANGED