<?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: More Nefarious Nullable Nonsense – Coalesce</title>
	<atom:link href="http://mikesmithers.wordpress.com/2010/07/08/more-nefarious-nullable-nonsense-%E2%80%93-coalesce/feed/" rel="self" type="application/rss+xml" />
	<link>http://mikesmithers.wordpress.com/2010/07/08/more-nefarious-nullable-nonsense-%e2%80%93-coalesce/</link>
	<description>Oracle - for when it was like that when you got there</description>
	<lastBuildDate>Wed, 01 May 2013 11:15:26 +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/2010/07/08/more-nefarious-nullable-nonsense-%e2%80%93-coalesce/#comment-588</link>
		<dc:creator><![CDATA[mikesmithers]]></dc:creator>
		<pubDate>Mon, 19 Jul 2010 22:18:06 +0000</pubDate>
		<guid isPermaLink="false">http://mikesmithers.wordpress.com/?p=506#comment-588</guid>
		<description><![CDATA[Martin, 

just tried this to see what error I got ( as I could have sworn I had tried it before) and...it worked. Which kind of makes sense seeing as IS NOT NULL is a comparison condition. 
Thanks - nice one !

Mike]]></description>
		<content:encoded><![CDATA[<p>Martin, </p>
<p>just tried this to see what error I got ( as I could have sworn I had tried it before) and&#8230;it worked. Which kind of makes sense seeing as IS NOT NULL is a comparison condition.<br />
Thanks &#8211; nice one !</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Nash</title>
		<link>http://mikesmithers.wordpress.com/2010/07/08/more-nefarious-nullable-nonsense-%e2%80%93-coalesce/#comment-587</link>
		<dc:creator><![CDATA[Martin Nash]]></dc:creator>
		<pubDate>Mon, 19 Jul 2010 20:25:50 +0000</pubDate>
		<guid isPermaLink="false">http://mikesmithers.wordpress.com/?p=506#comment-587</guid>
		<description><![CDATA[Hi Mike,

What about the following:

[sourcecode light=&quot;true&quot;]
SELECT team, best,
    CASE WHEN winners is not null THEN winners
         WHEN runner_up is not null THEN runner_up
         WHEN third is not null THEN third
         WHEN fourth is not null then fourth
         ELSE null
    END years
FROM final_four
/
[/sourcecode]]]></description>
		<content:encoded><![CDATA[<p>Hi Mike,</p>
<p>What about the following:</p>
<pre class="brush: plain; light: true; title: ; notranslate">
SELECT team, best,
    CASE WHEN winners is not null THEN winners
         WHEN runner_up is not null THEN runner_up
         WHEN third is not null THEN third
         WHEN fourth is not null then fourth
         ELSE null
    END years
FROM final_four
/
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: mikesmithers</title>
		<link>http://mikesmithers.wordpress.com/2010/07/08/more-nefarious-nullable-nonsense-%e2%80%93-coalesce/#comment-552</link>
		<dc:creator><![CDATA[mikesmithers]]></dc:creator>
		<pubDate>Fri, 09 Jul 2010 15:52:43 +0000</pubDate>
		<guid isPermaLink="false">http://mikesmithers.wordpress.com/?p=506#comment-552</guid>
		<description><![CDATA[Martin,

you are officially a clever-clogs and should definitely put in for that pay-rise !
I&#039;ve had another mess around with this stuff and I&#039;ll post a follow-up.

In the meantime, I&#039;ve made some minor corrections to this post ( like writing proper sentences). This is obviously a classic illustration of why you shouldn&#039;t post anything at the end of a night on the beer. Oh well, if you can&#039;t be a shining example, you can always be a terrible warning.]]></description>
		<content:encoded><![CDATA[<p>Martin,</p>
<p>you are officially a clever-clogs and should definitely put in for that pay-rise !<br />
I&#8217;ve had another mess around with this stuff and I&#8217;ll post a follow-up.</p>
<p>In the meantime, I&#8217;ve made some minor corrections to this post ( like writing proper sentences). This is obviously a classic illustration of why you shouldn&#8217;t post anything at the end of a night on the beer. Oh well, if you can&#8217;t be a shining example, you can always be a terrible warning.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://mikesmithers.wordpress.com/2010/07/08/more-nefarious-nullable-nonsense-%e2%80%93-coalesce/#comment-547</link>
		<dc:creator><![CDATA[Martin]]></dc:creator>
		<pubDate>Fri, 09 Jul 2010 08:08:06 +0000</pubDate>
		<guid isPermaLink="false">http://mikesmithers.wordpress.com/?p=506#comment-547</guid>
		<description><![CDATA[Replace the first bit of the CASE with

        CASE    NVL(winners,&#039;0&#039;) 
        WHEN    &#039;0&#039; THEN 

and Holland works fine.
So it looks like CASE has trouble with WHEN NULL.  I&#039;m not claiming that&#039;s a global problem, but in this particular example it definately doesn&#039;t react well to WHEN NULL.]]></description>
		<content:encoded><![CDATA[<p>Replace the first bit of the CASE with</p>
<p>        CASE    NVL(winners,&#8217;0&#8242;)<br />
        WHEN    &#8217;0&#8242; THEN </p>
<p>and Holland works fine.<br />
So it looks like CASE has trouble with WHEN NULL.  I&#8217;m not claiming that&#8217;s a global problem, but in this particular example it definately doesn&#8217;t react well to WHEN NULL.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
