Table: Report_Profile | |||
Columns | |||
Name | Type | Constraints | Description |
report_profile_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 description (unique). |
staff_KEY | int | Key of the Staff to whom the profile belongs. | |
create_date_utc | datetime | NOT NULL | |
report_type_KEY | int | NOT NULL | Key of the Report Type that this row is assigned. |
Primary key | |||
Name | Columns | Description | |
PK_Report_Profile$report_profile_KEY | report_profile_KEY | CLUSTERED | |
Unique constraints | |||
Name | Columns | Description | |
UK_Report_Profile$staff_KEY$report_type_KEY$description | staff_KEY, report_type_KEY, description | ||
Indexes | |||
Name | Columns | Description | |
IX_Report_Profile$report_type_KEY | report_type_KEY | Index supports foreign key FK_Report_Profile__Report_Type__report_type_KEY |
Foreign keys | |||
Name | Columns | Referenced table | Description |
FK_Report_Profile__Staff__staff_KEY | staff_KEY | Staff | on delete cascade; |
Incoming foreign keys | |||
Name | Columns | Referencing table | Description |
FK_Report_Profile_Report_Definition__Report_Profile__report_profile_KEY | report_profile_KEY | Report_Profile_Report_Definition | on delete cascade; |