Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ACTIVE_HUB_KEY | int identity | 4 | √ | null |
|
|
The Hub record ID |
|||||||||||||
| SESSION_ID | int | 4 | √ | null |
|
|
Session ID. |
|||||||||||||
| SESSION_NAME | varchar | 255 | √ | null |
|
|
Name of the session. |
|||||||||||||
| FACILITY_ID | int | 4 | √ | null |
|
|
ID of the facility that the session takes place in. |
|||||||||||||
| ENROLLMIN | int | 4 | √ | null |
|
|
Minimum enrollment for the session. |
|||||||||||||
| ENROLLMAX | int | 4 | √ | null |
|
|
Maximum enrollment for the session. |
|||||||||||||
| BEGIN_DATE_TIME | datetime | 16,3 | √ | null |
|
|
Starting date and time of the session. |
|||||||||||||
| END_DATE_TIME | datetime | 16,3 | √ | null |
|
|
Ending date and time of the session. |
|||||||||||||
| 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 |
|||||||||||||
| BEGIN_DATE_ONLY | date | 20 | √ | null |
|
|
Starting date of the session. (date only) |
|||||||||||||
| END_DATE_ONLY | date | 20 | √ | null |
|
|
Ending date of the session. (date only) |
|||||||||||||
| TOTAL_ENROLLMENTS | int | 4 | √ | null |
|
|
The total number of session time slot enrollments for the program |
|||||||||||||
| TOTAL_ENROLLED_PARTICIPANTS | int | 4 | √ | null |
|
|
The total number of participants enrolled for any session in the program |
|||||||||||||
| TOTAL_WAITLISTS | int | 4 | √ | null |
|
|
The total number of session time slots waitlists for the program |
|||||||||||||
| TOTAL_WAITLISTED_PARTICIPANTS | int | 4 | √ | null |
|
|
The total number of participants waitlisted for any session in the program |
|||||||||||||
| ORG_ID | int | 4 | √ | null |
|
|
Your organization’s unique identifier in the Active Net system |
|||||||||||||
| MAX_FILLRATE | float | 8 | √ | null |
|
|
The maximum Fill Rate of all session dates within the session |
|||||||||||||
| AVG_FILLRATE | float | 8 | √ | null |
|
|
The average Fill Rate of all session dates within the session |
|||||||||||||
| DESCRIPTION | varchar | 8000 | √ | null |
|
|
Description of the session |
|||||||||||||
| RESERVE_FACILITIES | varchar | 5 | √ | null |
|
|
Whether facilities should be reserved for the generated session dates (Yes/No) |
|||||||||||||
| ALLOW_ONLINE_REGISTRATION | varchar | 5 | √ | null |
|
|
Whether online registration is allowed for this session (Yes/No) |
|||||||||||||
| PROGRAM_TYPE_ID | int | 4 | √ | null |
|
|
The program type ID of the session |
|||||||||||||
| SITE_ID | int | 4 | √ | null |
|
|
The site ID that the session belongs to |
|||||||||||||
| MIN_CLASSES_ENROLLED_ONLINE | int | 4 | √ | null |
|
|
The minimum number of dates that may be enrolled in when enrolling online |
|||||||||||||
| MAX_CLASSES_ENROLLED_ONLINE | int | 4 | √ | null |
|
|
The maximum number of dates that may be enrolled in when enrolling online |
|||||||||||||
| TRIAL_CLASS_CAPACITY | int | 4 | √ | null |
|
|
The maximum number of trial class enrollments allowed for this session |
|||||||||||||
| WEEKDAYS | varchar | 7 | √ | null |
|
|
Whether the session is configured for specific days of the week |
|||||||||||||
| WEEKS_OF_MONTH | varchar | 5 | √ | null |
|
|
Whether the session is configured for specific weeks of the month |
|||||||||||||
| DELETED | varchar | 5 | √ | null |
|
|
Whether the session has marked as deleted (Yes/No) |
|||||||||||||
| ROW_VERSION | binary | 8 | √ | null |
|
|
System timestamp (for internal use) |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| SESSIONS_PK | Primary key | Asc | ACTIVE_HUB_KEY |
| SESSIONS_FACILITY_ID_IX | Performance | Asc | FACILITY_ID |
| SESSIONS_PROGRAM_TYPE_ID_IX | Performance | Asc | PROGRAM_TYPE_ID |
| SESSIONS_ROW_VERSION_IX | Performance | Asc | ROW_VERSION |
| SESSIONS_SESSION_ID_ORG_ID_UQ | Must be unique | Asc/Asc | SESSION_ID + ORG_ID |
| SESSIONS_SITE_ID_IX | Performance | Asc | SITE_ID |