| Table: Report_Profile_Report_Definition | |||
| Columns | |||
| Name | Type | Constraints | Description |
| report_profile_report_definition_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 | |
| report_profile_KEY | int | NOT NULL | Key to the Report Profile that this report is used on. |
| report_definition_KEY | int | NOT NULL | Key to a Report Definition that belongs to this profile. |
| ordinal_position | int | NOT NULL | The order of the reports in the profile. |
| report_options | nvarchar (-1) | NOT NULL | The report options in serialized XML format. |
| create_date_utc | datetime | NOT NULL | |
| Primary key | |||
| Name | Columns | Description | |
| PK_Report_Profile_Report_Definition$report_profile_report_definition_KEY | report_profile_report_definition_KEY | CLUSTERED | |
| Indexes | |||
| Name | Columns | Description | |
| IX_Report_Profile_Report_Definition$report_definition_KEY | report_definition_KEY | Index supports foreign key FK_Report_Profile_Report_Definition__Report_Definition__report_definition_KEY | |
| IX_Report_Profile_Report_Definition$report_profile_KEY$ordinal_position | report_profile_KEY, ordinal_position | ||
| Foreign keys | |||
| Name | Columns | Referenced table | Description |
| FK_Report_Profile_Report_Definition__Report_Definition__report_definition_KEY | report_definition_KEY | Report_Definition | on delete cascade; |
| FK_Report_Profile_Report_Definition__Report_Profile__report_profile_KEY | report_profile_KEY | Report_Profile | on delete cascade; |