Table: dbo.Staff_Default_Report_Option
Columns
Name | Type | Constraints | Description
staff_default_report_option_KEY | int (4) | NOT NULL | Primary key
staff_KEY | int (4) | NOT NULL | Foreign key to the staff member who owns these default report options.
client_KEY | int (4) |  | Foreign key to a client. This allows a staff member to save a seperate set of options for the report for each client. If null, options apply only to the report and user
report_definition_KEY | int (4) | NOT NULL | Foreign key to the report definition of the report that these default report options apply to.
report_option_xml | nvarchar (-1) | NOT NULL | The default sort and filter options set up by the staff member to be used whenever the report is printed for the given client.

Primary key
Name | Columns | Description
PK_Staff_Default_Report_Option | staff_default_report_option_KEY |
Unique constraints
Name | Columns | Description
UK_Staff_Default_Report_Option$staff_KEY$client_KEY$report_definition_KEY | staff_KEY, client_KEY, report_definition_KEY |

Foreign keys
Name | Columns | Referenced table | Description
FK_Staff_Default_Report_Option__Client__client_KEY | client_KEY | Client (client_KEY) |
FK_Staff_Default_Report_Option__Report_Definition__report_definition_KEY | report_definition_KEY | Report_Definition (report_definition_KEY) |
FK_Staff_Default_Report_Option__Staff__staff_KEY | staff_KEY | Staff (staff_KEY) |