Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ACTIVE_HUB_KEY | int identity | 4 | √ | null |
|
|
The Hub record ID |
||||
| PACKAGE_PREREQUISITE_ID | int | 4 | √ | null |
|
|
Package prerequisite ID |
||||
| PACKAGE_ID | int | 4 | √ | null |
|
|
The ID of the package that the prerequisite belongs to |
||||
| GROUP_NUMBER | int | 4 | √ | null |
|
|
The group number that the prerequisite belongs in |
||||
| CURRENT_PACKAGE_ID | int | 4 | √ | null |
|
|
The ID of the prerequisite membership package that must currently be active |
||||
| CURRENT_PACKAGE_CATEGORY_ID | int | 4 | √ | null |
|
|
The ID of the prerequisite membership package category that must currently be active |
||||
| PREVIOUS_PACKAGE_ID | int | 4 | √ | null |
|
|
The ID of the prerequisite membership package that must have been held in the past |
||||
| PREVIOUS_PACKAGE_CATEGORY_ID | int | 4 | √ | null |
|
|
The ID of the prerequisite membership package category that must have been held in the past |
||||
| DURATION_YEARS | int | 4 | √ | null |
|
|
The maximum number of years ago that the prerequisite membership may have occurred |
||||
| DURATION_MONTHS | int | 4 | √ | null |
|
|
The maximum number of months ago that the prerequisite membership may have occurred |
||||
| DURATION_DAYS | int | 4 | √ | null |
|
|
The maximum number of days ago that the prerequisite membership may have occurred |
||||
| HELD_BY | varchar | 20 | √ | null |
|
|
Who must have owned the prerequisite membership (Client Only / Any Family Member) |
||||
| IMMEDIATE_SALE_PACKAGE | varchar | 5 | √ | null |
|
|
Whether the prerequisite membership package may be purchased at the time of registration |
||||
| ROW_VERSION | binary | 8 | √ | null |
|
|
System timestamp (for internal use) |
||||
| 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 |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PACKAGE_PREREQUISITES_ACTIVE_HUB_KEY_PK | Primary key | Asc | ACTIVE_HUB_KEY |
| PACKAGE_PREREQUISITES_CURRENT_PACKAGE_CATEGORY_ID_IX | Performance | Asc | CURRENT_PACKAGE_CATEGORY_ID |
| PACKAGE_PREREQUISITES_CURRENT_PACKAGE_ID_IX | Performance | Asc | CURRENT_PACKAGE_ID |
| PACKAGE_PREREQUISITES_PACKAGE_ID_IX | Performance | Asc | PACKAGE_ID |
| PACKAGE_PREREQUISITES_PACKAGE_PREREQUISITE_ID_ORG_ID_UQ | Must be unique | Asc/Asc | PACKAGE_PREREQUISITE_ID + ORG_ID |
| PACKAGE_PREREQUISITES_PREVIOUS_PACKAGE_CATEGORY_ID_IX | Performance | Asc | PREVIOUS_PACKAGE_CATEGORY_ID |
| PACKAGE_PREREQUISITES_PREVIOUS_PACKAGE_ID_IX | Performance | Asc | PREVIOUS_PACKAGE_ID |
| PACKAGE_PREREQUISITES_ROW_VERSION_IX | Performance | Asc | ROW_VERSION |