Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ACTIVE_HUB_KEY | int identity | 4 | √ | null |
|
|
The Hub record ID |
||||
| INSTRUCTOR_ID | int | 4 | √ | null |
|
|
Instructor’s ID |
||||
| CUSTOMER_ID | int | 4 | √ | null |
|
|
Instructor’s customer ID |
||||
| INSTRUCTOR_FACILITY_ID | int | 4 | √ | null |
|
|
Instructor’s facility ID |
||||
| INSTRUCTOR_TYPE_ID | int | 4 | √ | null |
|
|
DEPRECATED - UNUSED |
||||
| SITE_ID | int | 4 | √ | null |
|
|
Instructor’s site ID |
||||
| COMPANY_ID | int | 4 | √ | null |
|
|
Instructor’s company’s ID |
||||
| RETIRED | varchar | 5 | √ | null |
|
|
Whether the instructor record has been retired (Yes / No) |
||||
| 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) |
|---|---|---|---|
| INSTRUCTORS_ACTIVE_HUB_KEY_PK | Primary key | Asc | ACTIVE_HUB_KEY |
| INSTRUCTORS_COMPANY_ID_IX | Performance | Asc | COMPANY_ID |
| INSTRUCTORS_CUSTOMER_ID_IX | Performance | Asc | CUSTOMER_ID |
| INSTRUCTORS_INSTRUCTOR_FACILITY_ID_IX | Performance | Asc | INSTRUCTOR_FACILITY_ID |
| INSTRUCTORS_INSTRUCTOR_ID_ORG_ID_UQ | Must be unique | Asc/Asc | INSTRUCTOR_ID + ORG_ID |
| INSTRUCTORS_INSTRUCTOR_TYPE_ID_IX | Performance | Asc | INSTRUCTOR_TYPE_ID |
| INSTRUCTORS_ROW_VERSION_IX | Performance | Asc | ROW_VERSION |
| INSTRUCTORS_SITE_ID_IX | Performance | Asc | SITE_ID |