Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TEAM_ID | int | 4 | null |
|
|
The team ID |
|||||||||||||||||||||||
| LEAGUE_ID | int | 4 | √ | null |
|
|
The ID of the league that the team belongs to |
||||||||||||||||||||||
| ACTIVITY_ID | int | 4 | √ | null |
|
|
The ID of the activity that the team is enrolled in |
||||||||||||||||||||||
| TEAM_NAME | varchar | 60 | √ | null |
|
|
The team name |
||||||||||||||||||||||
| TEAM_NUMBER | int | 4 | √ | null |
|
|
The team number within the league or activity |
||||||||||||||||||||||
| TEAM_CODE | varchar | 20 | √ | null |
|
|
The code assigned to the team |
||||||||||||||||||||||
| TEAM_DESCRIPTION | varchar | 100 | √ | null |
|
|
The team description |
||||||||||||||||||||||
| HOME_FACILITY_ID | int | 4 | √ | null |
|
|
The ID of the team’s home facility |
||||||||||||||||||||||
| ACTIVITY_TEAM_CATEGORY_ID | int | 4 | √ | null |
|
|
The ID of the activity team category assigned to the team |
||||||||||||||||||||||
| ACTIVITY_DIVISION_ID | int | 4 | √ | null |
|
|
The ID of the activity division assigned to the team |
||||||||||||||||||||||
| MAXIMUM_PLAYERS | int | 4 | √ | null |
|
|
The maximum number of players for the team |
||||||||||||||||||||||
| LEAGUE_OR_TOURNAMENT_SEED | int | 4 | √ | null |
|
|
The seeding number for this team within the league or tournament |
||||||||||||||||||||||
| TEAM_MEMBERS_MUST_PAY_IN_FULL | varchar | 5 | √ | null |
|
|
Whether team members must pay in full when joining the team (Yes/No) |
||||||||||||||||||||||
| IS_GROUP | varchar | 5 | √ | null |
|
|
Whether this is a group rather than a team (Yes/No) |
||||||||||||||||||||||
| TRANSACTION_ID | int | 4 | √ | null |
|
|
The ID of the transaction from enrolling the team |
||||||||||||||||||||||
| IS_REFUNDED | varchar | 5 | √ | null |
|
|
Whether the team enrollment has been refunded (Yes/No) |
||||||||||||||||||||||
| IS_RETIRED | varchar | 5 | √ | null |
|
|
Whether the team has been retired from further use (Yes/No) |
||||||||||||||||||||||
| 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) |
|---|---|---|---|
| TEAMS_TEAM_ID_ORG_ID_PK | Primary key | Asc/Asc | TEAM_ID + ORG_ID |
| TEAMS_ACTIVITY_DIVISION_ID_IX | Performance | Asc | ACTIVITY_DIVISION_ID |
| TEAMS_ACTIVITY_ID_IX | Performance | Asc | ACTIVITY_ID |
| TEAMS_ACTIVITY_TEAM_CATEGORY_ID_IX | Performance | Asc | ACTIVITY_TEAM_CATEGORY_ID |
| TEAMS_HOME_FACILITY_ID_IX | Performance | Asc | HOME_FACILITY_ID |
| TEAMS_LEAGUE_ID_IX | Performance | Asc | LEAGUE_ID |
| TEAMS_ROW_VERSION_IX | Performance | Asc | ROW_VERSION |
| TEAMS_TRANSACTION_ID_IX | Performance | Asc | TRANSACTION_ID |