| Table: dbo.Client_N_Staff | |||
| List which firm staff are allowed access to each client. | |||
| Columns | |||
| Name | Type | Constraints | Description |
| client_n_staff_KEY | int (4) | NOT NULL | Primary key |
| client_KEY | int (4) | NOT NULL | Key to parent client record. |
| staff_KEY | int (4) | NOT NULL | Link to staff record that has access to the associated client. |
| Primary key | |||
| Name | Columns | Description | |
| PK_Client_N_Staff | client_n_staff_KEY | ||
| Unique constraints | |||
| Name | Columns | Description | |
| UK_Client_N_Staff$client_KEY$staff_KEY | client_KEY, staff_KEY | ||
| Foreign keys | |||
| Name | Columns | Referenced table | Description |
| FK_Client_N_Staff__Client__client_KEY | client_KEY | Client (client_KEY) | |
| FK_Client_N_Staff__Staff__staff_KEY | staff_KEY | Staff (staff_KEY) | |