| Table: Security_Group | |||
| Columns | |||
| Name | Type | Constraints | Description |
| security_group_KEY | int | NOT NULL | AUTO-INCREMENT: Database assigned primary key for this table. |
| update__staff_KEY | int | NOT NULL | |
| update_date_utc | datetime | NOT NULL | |
| description | nvarchar (250) | NOT NULL | User defined identifier (unique). |
| privilege_data | nvarchar (1024) | 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. |
| create_date_utc | datetime | NOT NULL | |
| Primary key | |||
| Name | Columns | Description | |
| PK_Security_Group$security_group_KEY | security_group_KEY | CLUSTERED | |
| Unique constraints | |||
| Name | Columns | Description | |
| UK_Security_Group$description | description | Each description must be unique. | |
| 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 | on delete cascade; |
| FK_Staff_Security_Group__Security_Group__security_group_KEY | security_group_KEY | Staff_Security_Group | |