-

SQL Server 2005 Foreign Key Constraints: SET NULL and SET DEFAULT

Posted by Jeff Smith on Aug 13, 2008 in - Database, SqlServer  | View Original Article
 Most people know about cascading updates and deletes, but did you know there are two other foreign key constraint options you can use to maintain referential integrity? Read all about them in my latest article over at SQLTeam.com. These features, introduced with SQL Server 2005, haven't got a lot of publicity, but they can be very useful.  I just used the SET NULL option recently for the first time (inspiring me to put together an article on it) and it works great.

Tags:

Copyright © 2010 Answer My Query All rights reserved. Maintained by Orange Brains .