Table: Task_Template
Columns
Name | Type | Constraints | Description
task_template_KEY | int | NOT NULL |
update__staff_KEY | int | NOT NULL |
update_date_utc | datetime | NOT NULL |
create_date_utc | datetime | NOT NULL |
project_template_KEY | int | NOT NULL |
completion_order | int | NOT NULL |
activity_KEY | int |  |
tracking_description_KEY | int | NOT NULL |
budgeted_hours | decimal (9, 2) | NOT NULL |
budgeted_amount | decimal (9, 2) | NOT NULL |
target_start_month | int | NOT NULL |
target_start_day | int | NOT NULL |
start__target_date_method_KEY | int | NOT NULL |
target_complete_month | int | NOT NULL |
target_complete_day | int | NOT NULL |
complete__target_date_method_KEY | int | NOT NULL |
target | nvarchar (1000) | NOT NULL |
completion_event | nvarchar (50) | NOT NULL |
comments | nvarchar (-1) | NOT NULL |
row_version | timestamp | NOT NULL |
solution_type_name | nvarchar (50) | NOT NULL |
staff_grouping_type_KEY | int | NOT NULL |
staff_assignment_method_KEY | int | NOT NULL |
staff_qualifications__filter_KEY | int |  |
budgeted_amount_is_calculated | bit | NOT NULL |
description | nvarchar (250) | NOT NULL |

Primary key
Name | Columns | Description
PK_Task_Template$task_template_KEY | task_template_KEY | CLUSTERED
Unique constraints
Name | Columns | Description
UK_Task_Template$project_template_KEY$task_template_KEY | project_template_KEY, task_template_KEY | This unique constraint supports the relationship between Task_Template and Task.
Indexes
Name | Columns | Description
IX_Task_Template$activity_KEY | activity_KEY | Index supports foreign key FK_Task_Template__Activity__activity_KEY
IX_Task_Template$complete__target_date_method_KEY | complete__target_date_method_KEY | Index supports foreign key FK_Task_Template__Target_Date_Method__complete__target_date_method_KEY
IX_Task_Template$staff_assignment_method_KEY | staff_assignment_method_KEY | Index supports foreign key FK_Task_Template__Staff_Assignment_Method__staff_assignment_method_KEY
IX_Task_Template$staff_grouping_type_KEY | staff_grouping_type_KEY | Index supports foreign key FK_Task_Template__Staff_Grouping_Type__staff_grouping_type_KEY
IX_Task_Template$staff_qualifications__filter_KEY | staff_qualifications__filter_KEY | Index supports foreign key FK_Task_Template__Filter__staff_qualifications__filter_KEY
IX_Task_Template$start__target_date_method_KEY | start__target_date_method_KEY | Index supports foreign key FK_Task_Template__Target_Date_Method__start__target_date_method_KEY
IX_Task_Template$tracking_description_KEY | tracking_description_KEY | Index supports foreign key FK_Task_Template__Tracking_Description__tracking_description_KEY

Foreign keys
Name | Columns | Referenced table | Description
FK_Task_Template__Activity__activity_KEY | activity_KEY | Activity |
FK_Task_Template__Filter__staff_qualifications__filter_KEY | staff_qualifications__filter_KEY | Filter |
FK_Task_Template__Project_Template__project_template_KEY | project_template_KEY | Project_Template |
FK_Task_Template__Staff_Grouping_Type__staff_grouping_type_KEY | staff_grouping_type_KEY | Staff_Grouping_Type |
FK_Task_Template__Target_Date_Method__complete__target_date_method_KEY | complete__target_date_method_KEY | Target_Date_Method |
FK_Task_Template__Target_Date_Method__start__target_date_method_KEY | start__target_date_method_KEY | Target_Date_Method |
FK_Task_Template__Tracking_Description__tracking_description_KEY | tracking_description_KEY | Tracking_Description |

Incoming foreign keys
Name | Columns | Referencing table | Description
FK_Task_Template_Assignment__Task_Template__task_template_KEY | task_template_KEY | Task_Template_Assignment |
FK_Task__Task_Template__project_template_KEY__task_template_KEY | project_template_KEY, task_template_KEY | Task |
FK_Task__Task_Template__task_template_KEY | task_template_KEY | Task | on delete set null;