<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: on delete cascade</title>
	<atom:link href="http://laurentschneider.com/wordpress/2007/08/on-delete-cascade.html/feed/" rel="self" type="application/rss+xml" />
	<link>http://laurentschneider.com/wordpress/2007/08/on-delete-cascade.html</link>
	<description>Oracle Certified Master</description>
	<pubDate>Mon, 01 Dec 2008 17:44:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Omar_emp</title>
		<link>http://laurentschneider.com/wordpress/2007/08/on-delete-cascade.html#comment-8212</link>
		<dc:creator>Omar_emp</dc:creator>
		<pubDate>Tue, 28 Oct 2008 16:32:18 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/08/on-delete-cascade.html#comment-8212</guid>
		<description>it s a very clear exemple !

Thanks i m a lot  less stupid now !

Regards</description>
		<content:encoded><![CDATA[<p>it s a very clear exemple !</p>
<p>Thanks i m a lot  less stupid now !</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Salese</title>
		<link>http://laurentschneider.com/wordpress/2007/08/on-delete-cascade.html#comment-5031</link>
		<dc:creator>Salese</dc:creator>
		<pubDate>Wed, 17 Oct 2007 15:56:17 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/08/on-delete-cascade.html#comment-5031</guid>
		<description>Great examples! I'm just start learning Oracle and you helped me a lot.
Regards.</description>
		<content:encoded><![CDATA[<p>Great examples! I&#8217;m just start learning Oracle and you helped me a lot.<br />
Regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joel garry</title>
		<link>http://laurentschneider.com/wordpress/2007/08/on-delete-cascade.html#comment-4680</link>
		<dc:creator>joel garry</dc:creator>
		<pubDate>Fri, 07 Sep 2007 17:57:06 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/08/on-delete-cascade.html#comment-4680</guid>
		<description>No, I'll just post about it on &lt;a href="http://groups.google.com/group/comp.databases.oracle.misc/msg/93f3829a36e2c3de?dmode=source" rel="nofollow"&gt;usenet&lt;/a&gt;. :-)</description>
		<content:encoded><![CDATA[<p>No, I&#8217;ll just post about it on <a href="http://groups.google.com/group/comp.databases.oracle.misc/msg/93f3829a36e2c3de?dmode=source" rel="nofollow">usenet</a>. <img src='http://laurentschneider.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laurent Schneider</title>
		<link>http://laurentschneider.com/wordpress/2007/08/on-delete-cascade.html#comment-4620</link>
		<dc:creator>Laurent Schneider</dc:creator>
		<pubDate>Thu, 30 Aug 2007 19:22:14 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/08/on-delete-cascade.html#comment-4620</guid>
		<description>Thanks John, I expected that comment! Triggers can be very useful, that is sure. I just wanted to show that they can be evil when they produce unexpected results. About orders, it is a good example. 

This features could be used, but should not be misused 8-)</description>
		<content:encoded><![CDATA[<p>Thanks John, I expected that comment! Triggers can be very useful, that is sure. I just wanted to show that they can be evil when they produce unexpected results. About orders, it is a good example. </p>
<p>This features could be used, but should not be misused <img src='http://laurentschneider.com/wordpress/wp-includes/images/smilies/icon_cool.gif' alt='8-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Flack</title>
		<link>http://laurentschneider.com/wordpress/2007/08/on-delete-cascade.html#comment-4618</link>
		<dc:creator>John Flack</dc:creator>
		<pubDate>Thu, 30 Aug 2007 12:22:45 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/08/on-delete-cascade.html#comment-4618</guid>
		<description>Yes, both referential integrity constraints and triggers can have unexpected, and unreported effects.  Does that mean we shouldn't use them?  No!  It means that we should use them with extreme care, and planning and good design.  We should also document them thoroughly.  For instance, do we really want a cascade delete on the FK between departments and employees?  No, if we had done our analysis right, we would know that an employee is an independent entity from a department and does not disappear just because the department does.  We might want to null the FK on EMP, but if we do, we need a cleanup process to prompt a human to assign the employees to other departments.  However, let's consider Orders and Order Line Items.  Line Items are not necessarily independent of the Orders on which they appear.  So we may very well want to cascade the delete from Orders to Order Line Items.  The fact that Oracle only reports one Order deleted is fine - the line items are part of the one order.</description>
		<content:encoded><![CDATA[<p>Yes, both referential integrity constraints and triggers can have unexpected, and unreported effects.  Does that mean we shouldn&#8217;t use them?  No!  It means that we should use them with extreme care, and planning and good design.  We should also document them thoroughly.  For instance, do we really want a cascade delete on the FK between departments and employees?  No, if we had done our analysis right, we would know that an employee is an independent entity from a department and does not disappear just because the department does.  We might want to null the FK on EMP, but if we do, we need a cleanup process to prompt a human to assign the employees to other departments.  However, let&#8217;s consider Orders and Order Line Items.  Line Items are not necessarily independent of the Orders on which they appear.  So we may very well want to cascade the delete from Orders to Order Line Items.  The fact that Oracle only reports one Order deleted is fine - the line items are part of the one order.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
