SQL Server: Deleting Rows with Foreign Key Constraints: Can Transactions override the constraints?

Posted by Mark Redman on Stack Overflow See other posts from Stack Overflow or by Mark Redman
Published on 2010-04-29T19:13:26Z Indexed on 2010/04/29 19:17 UTC
Read the original article Hit count: 166

I have a few tables where Foreign Key constraints are added. These are used with code generation to set up specific joins in generated stored procedures.

Is it possible to override these constraints by calling multiple deletes within a transaction, specifically "TransactionScope" in C# or is cascaded deleting absolutely required?

© Stack Overflow or respective owner

Related posts about sql-server-2008

Related posts about delete-row