Posted by Erland Sommarskog on 11/29/07 08:17
Tony Rogerson (tonyrogerson@torver.net) writes:
> Don't forget all the other data that get's deleted as well - all the
> tables that reference the Foo table which likely contain time important
> information like order_date, trade_date etc...
Yeah, if there are some cascading foreign keys, or triggers a lot of
things can happen when Joe runs a no-op!
--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
[Back to original message]
|