World / Programming Languages

Using SET NULL and SET DEFAULT with Foreign Key Constraints

Using SET NULL and SET DEFAULT with Foreign Key Constraints

Time 27.08.2008 23:29 Source  sqlservercentral.com

Cascading Updates and Deletes, introduced with SQL Server 2000, were such an important, crucial feature that it is hard to imagine providing referential integrity without them. One of the new features in SQL Server 2005 that hasn't gotten a lot of press from what I've read is the new options for the ON DELETE and ON UPDATE clauses: SET NULL and SET DEFAULT. Let's take a look!

Region World Category Programming Languages

Date: 09 January 2009 - 19:30

Number of sources in English: 130