Table: Contact_Contact_Category
Columns
Name | Type | Constraints | Description
contact_contact_category_KEY | int | NOT NULL | AUTO-INCREMENT: Database assigned primary key for this table.
update__staff_KEY | int | NOT NULL |
update_date | datetime | NOT NULL |
contact_KEY | int | NOT NULL | Key to the parent contact record.
contact_category_KEY | int | NOT NULL | Key to the assigned category.
create_date | datetime | NOT NULL |
create__changeset_KEY | int | NOT NULL |
update__changeset_KEY | int | NOT NULL |

Primary key
Name | Columns | Description
PK_Contact_Contact_Category$contact_contact_category_KEY | contact_contact_category_KEY | CLUSTERED
Unique constraints
Name | Columns | Description
UK_Contact_Contact_Category__contact_KEY__contact_category_KEY | contact_KEY, contact_category_KEY | Each Contact can only be in each category once.
Indexes
Name | Columns | Description
IX_Contact_Contact_Category$contact_category_KEY | contact_category_KEY | Index supports foreign key FK_Contact_Contact_Category__Contact_Category__contact_category_KEY

Foreign keys
Name | Columns | Referenced table | Description
FK_Contact_Contact_Category__Contact__contact_KEY | contact_KEY | Contact |
FK_Contact_Contact_Category__Contact_Category__contact_category_KEY | contact_category_KEY | Contact_Category |