| Table: dbo.Security_Group | |||
| Columns | |||
| Name | Type | Constraints | Description |
| security_group_KEY | int (4) | NOT NULL | Database assigned primary key for this table. |
| description | nvarchar (60) | NOT NULL | User defined identifier (unique). |
| privilege_data | nvarchar (4096) | NOT NULL | A string of 1's and 0's that holds the privileges for this Security Group. The position in the string (0 based) corresponds to Privilege.privilege_KEY. |
| staff_type_KEY | int (4) | NOT NULL | Type of staff this group can be assigned to. |
| Primary key | |||
| Name | Columns | Description | |
| PK_Security_Group | security_group_KEY | ||
| Unique constraints | |||
| Name | Columns | Description | |
| UK_Security_Group$description | description | ||
| Foreign keys | |||
| Name | Columns | Referenced table | Description |
| FK_Security_Group__Staff_Type__staff_type_KEY | staff_type_KEY | Staff_Type (staff_type_KEY) | |
| Incoming foreign keys | |||
| Name | Columns | Referencing table | Description |
| FK_Report_Definition_Security_Group__Security_Group__security_group_KEY | security_group_KEY | Report_Definition_Security_Group | |
| FK_Staff_Security_Group__Security_Group__security_group_KEY | security_group_KEY | Staff_Security_Group | |