Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ACTIVE_HUB_KEY | int identity | 4 | √ | null |
|
|
The Hub record ID |
||||
| FACILITY_OPEN_TIME_ID | int | 4 | √ | null |
|
|
The facility open time ID |
||||
| FACILITY_ID | int | 4 | √ | null |
|
|
The facility ID |
||||
| FACILITY_HOUR_ID | int | 4 | √ | null |
|
|
The facility hours ID if for a specific date range |
||||
| DAY_OF_WEEK | int | 4 | √ | null |
|
|
The day of the week number (1=Sunday to 7=Saturday) |
||||
| DAY_OF_WEEK_NAME | nvarchar | 60 | √ | null |
|
|
The day of the week (Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday) |
||||
| START_TIME | time | 16 | √ | null |
|
|
The facility open time for this period of this day of the week (there may be multiple open and close times on a given day) |
||||
| END_TIME | time | 16 | √ | null |
|
|
The facility close time for this period of this day of the week (there may be multiple open and close times on a given day) |
||||
| 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) |
|---|---|---|---|
| FACILITY_OPEN_TIMES_ACTIVE_HUB_KEY_PK | Primary key | Asc | ACTIVE_HUB_KEY |
| FACILITY_OPEN_TIMES_FACILITY_HOUR_ID_IX | Performance | Asc | FACILITY_HOUR_ID |
| FACILITY_OPEN_TIMES_FACILITY_ID_IX | Performance | Asc | FACILITY_ID |
| FACILITY_OPEN_TIMES_FACILITY_OPEN_TIME_ID_ORG_ID_UQ | Must be unique | Asc/Asc | FACILITY_OPEN_TIME_ID + ORG_ID |
| FACILITY_OPEN_TIMES_ROW_VERSION_IX | Performance | Asc | ROW_VERSION |