<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: What you Ought to Know About CASE in Oracle PL/SQL</title>
	<atom:link href="http://awads.net/wp/2007/07/25/what-you-ought-to-know-about-case-in-oracle-plsql/feed/" rel="self" type="application/rss+xml" />
	<link>http://awads.net/wp/2007/07/25/what-you-ought-to-know-about-case-in-oracle-plsql/</link>
	<description>News, views, tips and tricks on Oracle and other fun stuff</description>
	<lastBuildDate>Thu, 17 Jun 2010 03:52:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Not Tom</title>
		<link>http://awads.net/wp/2007/07/25/what-you-ought-to-know-about-case-in-oracle-plsql/comment-page-1/#comment-52406</link>
		<dc:creator>Not Tom</dc:creator>
		<pubDate>Wed, 08 Oct 2008 14:53:33 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2007/07/25/what-you-ought-to-know-about-case-in-oracle-plsql/#comment-52406</guid>
		<description>&lt;p&gt;Surprise surprise, Tom wrote a snarky response without reading the post.&lt;/p&gt;

&lt;p&gt;This article and the poster on asktom are talking about CASE in Oracle PL/SQL.  Tom is only talking about CASE in Oracle SQL, where you never &lt;i&gt;need&lt;/i&gt; the ELSE.&lt;/p&gt;

&lt;p&gt;Bottom line is, you&#039;ll only get the CASE_NOT_FOUND exception when omitting the else clause from a case &quot;statement&quot; in PL/SQL.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Surprise surprise, Tom wrote a snarky response without reading the post.</p>

<p>This article and the poster on asktom are talking about CASE in Oracle PL/SQL.  Tom is only talking about CASE in Oracle SQL, where you never <i>need</i> the ELSE.</p>

<p>Bottom line is, you&#8217;ll only get the CASE_NOT_FOUND exception when omitting the else clause from a case &#8220;statement&#8221; in PL/SQL.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Reader</title>
		<link>http://awads.net/wp/2007/07/25/what-you-ought-to-know-about-case-in-oracle-plsql/comment-page-1/#comment-51350</link>
		<dc:creator>Reader</dc:creator>
		<pubDate>Sun, 05 Aug 2007 01:20:23 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2007/07/25/what-you-ought-to-know-about-case-in-oracle-plsql/#comment-51350</guid>
		<description>&lt;p&gt;Seems like an unknown subtlety to even Tom:&lt;/p&gt;

&lt;p&gt;http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:67073167580253&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Seems like an unknown subtlety to even Tom:</p>

<p><a href="http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:67073167580253" rel="nofollow">http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:67073167580253</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Eddie Awad</title>
		<link>http://awads.net/wp/2007/07/25/what-you-ought-to-know-about-case-in-oracle-plsql/comment-page-1/#comment-51330</link>
		<dc:creator>Eddie Awad</dc:creator>
		<pubDate>Fri, 27 Jul 2007 03:21:29 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2007/07/25/what-you-ought-to-know-about-case-in-oracle-plsql/#comment-51330</guid>
		<description>&lt;p&gt;Glad you learned something new guys. I also learned something new today thanks to Pete, the &lt;a href=&quot;http://en.wikipedia.org/wiki/Duff%27s_device&quot; rel=&quot;nofollow&quot;&gt;Duff&#039;s device&lt;/a&gt;. I had to check it out. Very interesting.&lt;/p&gt;

&lt;p&gt;After my limited reading about it, and If I understand it correctly, I do not believe that Duff&#039;s device can be simulated in PL/SQL using CASE because there is no &quot;break&quot; in PL/SQL as there is in C. Moreover, unlike C, CASE breaks automatically at the end of a positive WHEN condition block (continues after the END CASE).&lt;/p&gt;

&lt;p&gt;Now, there is this new feature in 11g, &lt;a href=&quot;http://technology.amis.nl/blog/?p=2261&quot; rel=&quot;nofollow&quot;&gt;CONTINUE&lt;/a&gt;,  but I do not see that it will make any difference in this case.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Glad you learned something new guys. I also learned something new today thanks to Pete, the <a href="http://en.wikipedia.org/wiki/Duff%27s_device" rel="nofollow">Duff&#8217;s device</a>. I had to check it out. Very interesting.</p>

<p>After my limited reading about it, and If I understand it correctly, I do not believe that Duff&#8217;s device can be simulated in PL/SQL using CASE because there is no &#8220;break&#8221; in PL/SQL as there is in C. Moreover, unlike C, CASE breaks automatically at the end of a positive WHEN condition block (continues after the END CASE).</p>

<p>Now, there is this new feature in 11g, <a href="http://technology.amis.nl/blog/?p=2261" rel="nofollow">CONTINUE</a>,  but I do not see that it will make any difference in this case.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Sidhu</title>
		<link>http://awads.net/wp/2007/07/25/what-you-ought-to-know-about-case-in-oracle-plsql/comment-page-1/#comment-51328</link>
		<dc:creator>Sidhu</dc:creator>
		<pubDate>Thu, 26 Jul 2007 17:05:50 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2007/07/25/what-you-ought-to-know-about-case-in-oracle-plsql/#comment-51328</guid>
		<description>&lt;p&gt;Good one Eddie&lt;/p&gt;

&lt;p&gt;Learned a new thing :)&lt;/p&gt;

&lt;p&gt;Sidhu&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Good one Eddie</p>

<p>Learned a new thing <img src='http://awads.net/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<p>Sidhu</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Pete Finnigan</title>
		<link>http://awads.net/wp/2007/07/25/what-you-ought-to-know-about-case-in-oracle-plsql/comment-page-1/#comment-51327</link>
		<dc:creator>Pete Finnigan</dc:creator>
		<pubDate>Thu, 26 Jul 2007 14:09:08 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2007/07/25/what-you-ought-to-know-about-case-in-oracle-plsql/#comment-51327</guid>
		<description>&lt;p&gt;Nice post Eddie, it would be interesting; if i had any spare time..:-) to see if Duffs device would work with PL/SQL case contructs as they do with C.&lt;/p&gt;

&lt;p&gt;cheers&lt;/p&gt;

&lt;p&gt;Pete&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Nice post Eddie, it would be interesting; if i had any spare time..:-) to see if Duffs device would work with PL/SQL case contructs as they do with C.</p>

<p>cheers</p>

<p>Pete</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Karl</title>
		<link>http://awads.net/wp/2007/07/25/what-you-ought-to-know-about-case-in-oracle-plsql/comment-page-1/#comment-51326</link>
		<dc:creator>Karl</dc:creator>
		<pubDate>Thu, 26 Jul 2007 06:43:47 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2007/07/25/what-you-ought-to-know-about-case-in-oracle-plsql/#comment-51326</guid>
		<description>&lt;p&gt;oh!
this was new to me the differnet behavior of a searched case expression and a statement.
Great
Karl&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>oh!
this was new to me the differnet behavior of a searched case expression and a statement.
Great
Karl</p>]]></content:encoded>
	</item>
</channel>
</rss>
