Visual Database Tools
Checking Existing Data when Creating a Relationship
Select the option to check existing data when you create a relationship if the
To check existing data when creating a relationship
- In your database diagram, select the table that the foreign key constraint is attached to.
- Right-click the table and select Properties.
- Choose the Relationships tab.
- Select the relationship from the Selected relationship list.
- Select the Check existing data on creation check box.
The foreign key constraint is applied when you save the table or diagram. If any constraint violations are encountered during the save process, the table cannot be saved.