Table ss720co.contracts Generated by
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
Column Type Size Nulls Auto Default Children Parents Comments
id char 36
notes.parent_id Defined in XML R
contracts_opportunities.contract_id Defined in XML R
linked_documents.parent_id Defined in XML R
contracts_quotes.contract_id Defined in XML R
contracts_audit.parent_id Defined in XML R
activities_users.parent_id Defined in XML R
contracts_products.contract_id Defined in XML R
contracts_contacts.contract_id Defined in XML R
name varchar 255  √  null
date_entered datetime 19  √  null
date_modified datetime 19  √  null
modified_user_id char 36  √  null Defined in XML R
created_by char 36  √  null Defined in XML R
description text 65535  √  null
deleted bit 1  √  0
assigned_user_id char 36  √  null Defined in XML R
team_id char 36  √  null Defined in XML R
team_set_id char 36  √  null
team_sets_teams.team_set_id Defined in XML R Defined in XML R
reference_code varchar 255  √  null
account_id char 36  √  null Defined in XML R
start_date date 10  √  null
end_date date 10  √  null
currency_id char 36  √  -99
base_rate decimal 26,6  √  null
total_contract_value decimal 26,6  √  null
total_contract_value_usdollar decimal 26,6  √  null
status varchar 100  √  null
customer_signed_date date 10  √  null
company_signed_date date 10  √  null
expiration_notice datetime 19  √  null
type varchar 255  √  null Defined in XML R

Analyzed at Mon Apr 21 08:26 UTC 2014

Column(s) Type Sort Constraint Name
id Primary key Asc PRIMARY
date_modified Performance Asc contractsmod
end_date Performance Asc idx_contract_end_date
name Performance Asc idx_contract_name
start_date Performance Asc idx_contract_start_date
status Performance Asc idx_contract_status
team_set_id Performance Asc idx_contracts_tmst_id

Close relationships  within of separation: