Articles

External Article

Using SET NULL and SET DEFAULT with Foreign Key Constraints

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!

2008-08-28

2,984 reads

Blogs

Advice I Like: Ranch Rules

By

Leave a gate behind you the way you first found it. – from Excellent...

Fix Slow, Bloated MSDB: Purge Old History And Add Missing Indexes

By

Fix Slow, Bloated MSDB: Purge Old History And Add Missing Indexes ...

Three Ways to Use Snowflake Data in Microsoft Fabric

By

Organizations increasingly want Snowflake and Microsoft Fabric to coexist without duplicating data or fragmenting...

Read the latest Blogs

Forums

Automating Database Cleanup for PostgreSQL Using Python

By sabyda

Comments posted to this topic are about the item Automating Database Cleanup for PostgreSQL...

The Query Optimizer and Page Density

By Steve Jones - SSC Editor

Comments posted to this topic are about the item The Query Optimizer and Page...

There Are a Lot of Databases

By Steve Jones - SSC Editor

Comments posted to this topic are about the item There Are a Lot of...

Visit the forum

Question of the Day

The Query Optimizer and Page Density

If I have a fillfactor set to 70%, this reduces my page density to roughly 70%. Does this affect the query plans that the optimizer chooses?

See possible answers