﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Database Deployment Toolkit » Database Deployment Toolkit (How do I?)  » SQL 2008 R2 - "Enforce Foreign Key Constraint"</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Fri, 22 May 2026 11:47:17 GMT</lastBuildDate><ttl>20</ttl><item><title>SQL 2008 R2 - "Enforce Foreign Key Constraint"</title><link>http://forum.strataframe.net/FindPost32234.aspx</link><description>Hello,&lt;br/&gt;&lt;br/&gt;In the SQL 2008 R2 GUI for Foreign Key Relationships, it has an "Enforce Foreign Key Constraint" option. What is the equivalent in the "new relationship" builder in DDT v7.6.0?&lt;br/&gt;&lt;br/&gt;Reason I'm asking is that the "Enforce relationships for INSERTS AND UPDATES" option in the DDT will disable the delete and update rule comboboxes, but the "Enforce Foreign Key Constraint" in SQL does not disable the "INSERT and UPDATE Specification" options. So I'm confused if they are the same or not.&lt;br/&gt;&lt;br/&gt;Thanks.</description><pubDate>Fri, 18 Oct 2013 08:53:26 GMT</pubDate><dc:creator>William Fields</dc:creator></item><item><title>RE: SQL 2008 R2 - "Enforce Foreign Key Constraint"</title><link>http://forum.strataframe.net/FindPost32235.aspx</link><description>Yes, they are the same option. &amp;nbsp;The "Enforce relationship for INSERTs and UPDATEs" option in the DDT is the "Enforce Foreign Key Constraint" option in SQL Server Management Studio. &amp;nbsp;It basically says whether the constraint is on or off.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;ALTER TABLE tablename NOCHECK CONSTRAINT foreignKey;&lt;br/&gt;&lt;br/&gt;&lt;div&gt;We disabled the combo boxes because we decided that it didn't make sense for the constraint to be off but still cascade the deletes and updates, but it looks like SQL server allows this scenario.</description><pubDate>Fri, 18 Oct 2013 08:53:26 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>