How to change relationship properties in SQL Server Table Designer

When developers create a relationship, referential integrity between tables is enforced by default. An enforced relationship ensures each value entered in a foreign key column matches an existing value in the related primary key column. Developers

can change the conditions under which referential integrity is enforced by editing the relationship’s properties. When Developers working with SQL Server “Denali”, MS SQL Server 2008 R2 and MS SQL Server 2005 want change relationship properties, they should follow the next steps:

1. In Object Explorer, right-click the table involved in the relationship, and click Design (Modify in SP1 or earlier).

The table opens in Table Designer.

2. From the Table Designer menu, click Relationships.

3. In the Foreign Key Relationships dialog box, select the relationship in the Selected Relationship list.

4. Change properties for the relationship in the grid.

The relationship is updated in the database when they save the table.