Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| UserId | int | 4 | null |
|
|
User reference - Links to the user account (AccessUser.UserID) |
|||||
| GroupId | int | 4 | null |
|
|
Group reference - Links to the client group (Groups.GroupId) |
|||||
| Id | int identity | 4 | √ | null |
|
|
Primary key - Unique identifier for each user-group association |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PK_UserInGroupClient | Primary key | Asc | Id |
| IX_UserId | Performance | Asc | UserId |
| IX_UserId_GroupId | Performance | Asc/Asc | UserId + GroupId |
