Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| ACTIVE_HUB_KEY | int identity | 4 | √ | null |
|
|
The Hub record ID |
|
| CUSTOM_QUESTION_ID | int | 4 | √ | null |
|
|
Custom question ID |
|
| ANSWER | varchar | 100 | √ | null |
|
|
The predefined answer for a custom question |
|
| IS_DEFAULT_RESPONSE | varchar | 5 | √ | null |
|
|
Whether this answer is the default answer for the custom question (Yes/No) |
|
| ANSWER_ID | int | 4 | √ | null |
|
|
The answer ID for this predefined answer (for internal use) |
|
| SUB_CUSTOM_QUESTION_ID | int | 4 | √ | null |
|
|
The ID of a custom question that this answer links to |
|
| DEMOGRAPHIC_ID | int | 4 | √ | null |
|
|
The demographic ID related to this answer |
|
| MIN_AGE | int | 4 | √ | null |
|
|
The minimum age to be presented with this answer (0 = ALL) |
|
| MAX_AGE | int | 4 | √ | null |
|
|
The maximum age to be presented with this answer (0 = ALL) |
|
| GENDER_INDEX | int | 4 | √ | null |
|
|
The ID of the gender to be presented with this answer (0 = ALL) |
|
| ANSWER_CODE | int | 4 | √ | null |
|
|
The code that will be saved as the answer value when selecting this answer |
|
| ACTIVITY_CUSTOM_QUESTION_ANSWER_ID | int | 4 | √ | null |
|
|
The activity custom question answer ID (for internal use) |
|
| ACTIVITY_ID | int | 4 | √ | null |
|
|
The activity ID that this record links to |
|
| MAX_NUMBER_OF_USES | int | 4 | √ | null |
|
|
The maximum number of times that this answer can be used for an activity |
|
| LAST_SYNC_TIME | datetime | 16,3 | (getdate()) |
|
|
Date and time Hub record was last modified |
||
| ACTIVE_HUB_PROCESS_ID | bigint | 8 | √ | null |
|
|
The Hub sync process ID |
|
| ORG_ID | int | 4 | √ | null |
|
|
Your organization’s unique identifier in the Active Net system |
|
| ROW_VERSION | binary | 8 | √ | null |
|
|
System timestamp (for internal use) |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| CUSTOM_QUESTION_LINKED_ANSWERS_ACTIVE_HUB_KEY_PK | Primary key | Asc | ACTIVE_HUB_KEY |
| CUSTOM_QUESTION_LINKED_ANSWERS_ACTIVITY_CUSTOM_QUESTION_ANSWER_ID_ORG_ID_IX | Performance | Asc/Asc | ACTIVITY_CUSTOM_QUESTION_ANSWER_ID + ORG_ID |
| CUSTOM_QUESTION_LINKED_ANSWERS_ACTIVITY_ID_IX | Performance | Asc | ACTIVITY_ID |
| CUSTOM_QUESTION_LINKED_ANSWERS_ANSWER_ID_ORG_ID_IX | Performance | Asc/Asc | ANSWER_ID + ORG_ID |
| CUSTOM_QUESTION_LINKED_ANSWERS_CUSTOM_QUESTION_ID_IX | Performance | Asc | CUSTOM_QUESTION_ID |
| CUSTOM_QUESTION_LINKED_ANSWERS_DEMOGRAPHIC_ID_IX | Performance | Asc | DEMOGRAPHIC_ID |
| CUSTOM_QUESTION_LINKED_ANSWERS_GENDER_INDEX_IX | Performance | Asc | GENDER_INDEX |
| CUSTOM_QUESTION_LINKED_ANSWERS_ROW_VERSION_IX | Performance | Asc | ROW_VERSION |