<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: The CASE against DECODE and the Misery of Penalties</title>
	<atom:link href="http://mikesmithers.wordpress.com/2012/07/05/the-case-against-decode-and-the-misery-of-penalties/feed/" rel="self" type="application/rss+xml" />
	<link>http://mikesmithers.wordpress.com/2012/07/05/the-case-against-decode-and-the-misery-of-penalties/</link>
	<description>Oracle - for when it was like that when you got there</description>
	<lastBuildDate>Tue, 18 Jun 2013 22:53:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: mikesmithers</title>
		<link>http://mikesmithers.wordpress.com/2012/07/05/the-case-against-decode-and-the-misery-of-penalties/#comment-20209</link>
		<dc:creator><![CDATA[mikesmithers]]></dc:creator>
		<pubDate>Mon, 09 Jul 2012 19:14:24 +0000</pubDate>
		<guid isPermaLink="false">http://mikesmithers.wordpress.com/?p=1409#comment-20209</guid>
		<description><![CDATA[Jeff,

thanks for pointing that out. Post suitably amended. I am now sitting down to a large helping of humble-pie. Honestly, now England finally has a decent cricket team, I had hoped to stay off the stuff for a while.

Mike]]></description>
		<content:encoded><![CDATA[<p>Jeff,</p>
<p>thanks for pointing that out. Post suitably amended. I am now sitting down to a large helping of humble-pie. Honestly, now England finally has a decent cricket team, I had hoped to stay off the stuff for a while.</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeffrey Kemp</title>
		<link>http://mikesmithers.wordpress.com/2012/07/05/the-case-against-decode-and-the-misery-of-penalties/#comment-20180</link>
		<dc:creator><![CDATA[Jeffrey Kemp]]></dc:creator>
		<pubDate>Mon, 09 Jul 2012 05:02:46 +0000</pubDate>
		<guid isPermaLink="false">http://mikesmithers.wordpress.com/?p=1409#comment-20180</guid>
		<description><![CDATA[I generally prefer CASE as well, but your reason for avoiding DECODE isn&#039;t quite accurate in this instance - you got ORA-00936: missing expression because you forgot to surround the subquery in parentheses, e.g.

SELECT s.team_name,
DECODE(
    (SELECT c.back_yn
    FROM chances c
    WHERE c.team_name = s.team_name),
    &#039;Y&#039;, &#039;Looking good for them&#039;,
    &#039;Years of hurt ++&#039;) as &quot;Hansen says&quot;
FROM shootouts]]></description>
		<content:encoded><![CDATA[<p>I generally prefer CASE as well, but your reason for avoiding DECODE isn&#8217;t quite accurate in this instance &#8211; you got ORA-00936: missing expression because you forgot to surround the subquery in parentheses, e.g.</p>
<p>SELECT s.team_name,<br />
DECODE(<br />
    (SELECT c.back_yn<br />
    FROM chances c<br />
    WHERE c.team_name = s.team_name),<br />
    &#8216;Y&#8217;, &#8216;Looking good for them&#8217;,<br />
    &#8216;Years of hurt ++&#8217;) as &#8220;Hansen says&#8221;<br />
FROM shootouts</p>
]]></content:encoded>
	</item>
</channel>
</rss>
