Enforcing Referential Integrity Between Tables
You can change the conditions under which referential integrity is enforced by editing the relationship's properties.
To change referential integrity options for a new relationship
- In your database diagram, create a relationship. For details, see Creating a Relationship Between Tables.
- In the Create Relationship dialog box, clear or select one or more of the options.
For information about the options available for SQL Server databases, see Database Designer Considerations for SQL Server Databases.
To change referential integrity options for an existing relationship
- In your database diagram, select the relationship line.
- Right-click the relationship line and select Properties.
- Choose the Relationships tab.
- Select the relationship from the Selected relationship list.
- Clear or select one or more of the options.
For information about the options available for SQL Server databases, see Database Designer Considerations for SQL Server Databases.
The relationship is updated in the database when you save the diagram or either of the related tables.
See Also
Foreign Key Constraints | Primary Key Constraints | Table Relationships | Unique Constraints