Table: Staff_Security_Group
Columns
Name | Type | Constraints | Description
staff_security_group_KEY | int | NOT NULL | AUTO-INCREMENT: Database assigned primary key for this table.
update__staff_KEY | int | NOT NULL |
update_date | datetime | NOT NULL |
staff_KEY | int | NOT NULL | Foreign key to Staff.
security_group_KEY | int | NOT NULL | Foreign key to Security Group.
create_date | datetime | NOT NULL |

Primary key
Name | Columns | Description
PK_Staff_Security_Group$staff_security_group_KEY | staff_security_group_KEY | CLUSTERED
Unique constraints
Name | Columns | Description
UK_Staff_Security_Group__staff_KEY__security_group_KEY | staff_KEY, security_group_KEY |
Indexes
Name | Columns | Description
IX_Staff_Security_Group$security_group_KEY | security_group_KEY | Index supports foreign key FK_Staff_Security_Group__Security_Group__security_group_KEY

Foreign keys
Name | Columns | Referenced table | Description
FK_Staff_Security_Group__Security_Group__security_group_KEY | security_group_KEY | Security_Group |
FK_Staff_Security_Group__Staff__staff_KEY | staff_KEY | Staff | on delete cascade;