Table ss675pr.contacts 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
campaign_log.target_id Defined in XML R
contacts.reports_to_id Defined in XML R
leads.contact_id Defined in XML R
notes.contact_id Defined in XML R
notes.parent_id Defined in XML R
oauth_tokens.contact_id Defined in XML R
products.contact_id Defined in XML R
tasks.contact_id Defined in XML R
tasks.parent_id Defined in XML R
campaign_log.related_id Defined in XML R
meetings_contacts.contact_id Defined in XML R
email_addr_bean_rel.bean_id Defined in XML R
emails_beans.bean_id Defined in XML R
quotes_contacts.contact_id Defined in XML R
opportunities_contacts.contact_id Defined in XML R
documents_contacts.contact_id Defined in XML R
contacts_audit.parent_id Defined in XML R
contacts_users.contact_id Defined in XML R
projects_contacts.contact_id Defined in XML R
accounts_contacts.contact_id Defined in XML R
contracts_contacts.contact_id Defined in XML R
contacts_bugs.contact_id Defined in XML R
prospect_lists_prospects.related_id Defined in XML R
calls_contacts.contact_id Defined in XML R
project_resources.resource_id Defined in XML R
contacts_cases.contact_id Defined in XML R
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
salutation varchar 255  √  null
first_name varchar 100  √  null
last_name varchar 100  √  null
title varchar 100  √  null
department varchar 255  √  null
do_not_call bit 1  √  0
phone_home varchar 100  √  null
phone_mobile varchar 100  √  null
phone_work varchar 100  √  null
phone_other varchar 100  √  null
phone_fax varchar 100  √  null
primary_address_street varchar 150  √  null
primary_address_city varchar 100  √  null
primary_address_state varchar 100  √  null
primary_address_postalcode varchar 20  √  null
primary_address_country varchar 255  √  null
alt_address_street varchar 150  √  null
alt_address_city varchar 100  √  null
alt_address_state varchar 100  √  null
alt_address_postalcode varchar 20  √  null
alt_address_country varchar 255  √  null
assistant varchar 75  √  null
assistant_phone varchar 100  √  null
picture varchar 255  √  null
twitter_id varchar 15  √  null
lead_source varchar 255  √  null
reports_to_id char 36  √  null Defined in XML R
birthdate date 10  √  null
campaign_id char 36  √  null Defined in XML R

Analyzed at Wed Mar 12 07:52 UTC 2014

Column(s) Type Sort Constraint Name
id Primary key Asc PRIMARY
assigned_user_id Performance Asc idx_cont_assigned
deleted + reports_to_id + last_name Performance Asc/Asc/Asc idx_cont_del_reports
last_name + first_name + deleted Performance Asc/Asc/Asc idx_cont_last_first
deleted + last_name Performance Asc/Asc idx_contacts_del_last
team_set_id Performance Asc idx_contacts_tmst_id
deleted + id + assigned_user_id Performance Asc/Asc/Asc idx_del_id_user
reports_to_id Performance Asc idx_reports_to_id

Close relationships  within of separation: