<?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/"
	>
<channel>
	<title>Comments on: SQL isZero() Solution For Divide By Zero Error</title>
	<atom:link href="http://www.richardsantos.net/2006/08/04/sql-iszero-solution-for-divide-by-zero-error/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.richardsantos.net/2006/08/04/sql-iszero-solution-for-divide-by-zero-error/</link>
	<description>SAP ABAP/BASIS Tips</description>
	<pubDate>Thu, 29 Jul 2010 12:03:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Phani</title>
		<link>http://www.richardsantos.net/2006/08/04/sql-iszero-solution-for-divide-by-zero-error/comment-page-1/#comment-496</link>
		<dc:creator>Phani</dc:creator>
		<pubDate>Tue, 24 Nov 2009 12:08:41 +0000</pubDate>
		<guid isPermaLink="false">https://richardsantos.wordpress.com/2006/08/04/sql-iszero/#comment-496</guid>
		<description>Thanks a lot....simplified my problems .....on the spot.....Just Excellent :)</description>
		<content:encoded><![CDATA[<p><code>Thanks a lot&#8230;.simplified my problems &#8230;..on the spot&#8230;..Just Excellent <img src='http://www.richardsantos.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juraj</title>
		<link>http://www.richardsantos.net/2006/08/04/sql-iszero-solution-for-divide-by-zero-error/comment-page-1/#comment-412</link>
		<dc:creator>Juraj</dc:creator>
		<pubDate>Tue, 27 Oct 2009 15:16:01 +0000</pubDate>
		<guid isPermaLink="false">https://richardsantos.wordpress.com/2006/08/04/sql-iszero/#comment-412</guid>
		<description>Thanks, this works!</description>
		<content:encoded><![CDATA[<p><code>Thanks, this works!</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://www.richardsantos.net/2006/08/04/sql-iszero-solution-for-divide-by-zero-error/comment-page-1/#comment-391</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Tue, 22 Sep 2009 19:20:01 +0000</pubDate>
		<guid isPermaLink="false">https://richardsantos.wordpress.com/2006/08/04/sql-iszero/#comment-391</guid>
		<description>@Dave
ISNULL(ROUND(x/(NULLIF(y,0)),0),0)

I'm pretty sure there was an error with the posted code unless they are using something different than sql server where it would work.  But with SQL Server the code shown does not work.  All three of the functions require more than 1 parameter, so the above code should work fine.</description>
		<content:encoded><![CDATA[<p><code>@Dave<br />ISNULL(ROUND(x/(NULLIF(y,0)),0),0)</p><p>I&#8217;m pretty sure there was an error with the posted code unless they are using something different than sql server where it would work.  But with SQL Server the code shown does not work.  All three of the functions require more than 1 parameter, so the above code should work fine.</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barry bevel</title>
		<link>http://www.richardsantos.net/2006/08/04/sql-iszero-solution-for-divide-by-zero-error/comment-page-1/#comment-357</link>
		<dc:creator>barry bevel</dc:creator>
		<pubDate>Fri, 31 Jul 2009 18:40:45 +0000</pubDate>
		<guid isPermaLink="false">https://richardsantos.wordpress.com/2006/08/04/sql-iszero/#comment-357</guid>
		<description>Would this be the same thing? (db2)

SELECT X,Y, CASE WHEN Y = 0 THEN 0 ELSE ROUND(X / Y) END AS quotient
FROM dataTbl</description>
		<content:encoded><![CDATA[<p><code>Would this be the same thing? (db2)</p><p>SELECT X,Y, CASE WHEN Y = 0 THEN 0 ELSE ROUND(X / Y) END AS quotient<br />FROM dataTbl</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://www.richardsantos.net/2006/08/04/sql-iszero-solution-for-divide-by-zero-error/comment-page-1/#comment-356</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 23 Jul 2009 22:58:32 +0000</pubDate>
		<guid isPermaLink="false">https://richardsantos.wordpress.com/2006/08/04/sql-iszero/#comment-356</guid>
		<description>You just saved me, BIG TIME!

Mucho gracias!</description>
		<content:encoded><![CDATA[<p><code>You just saved me, BIG TIME!</p><p>Mucho gracias!</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: B</title>
		<link>http://www.richardsantos.net/2006/08/04/sql-iszero-solution-for-divide-by-zero-error/comment-page-1/#comment-351</link>
		<dc:creator>B</dc:creator>
		<pubDate>Thu, 02 Jul 2009 11:06:25 +0000</pubDate>
		<guid isPermaLink="false">https://richardsantos.wordpress.com/2006/08/04/sql-iszero/#comment-351</guid>
		<description>Superb , Hiperb , Perfect , Wonderful O La La :)) Thanks ...</description>
		<content:encoded><![CDATA[<p><code>Superb , Hiperb , Perfect , Wonderful O La La :)) Thanks &#8230;</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rs</title>
		<link>http://www.richardsantos.net/2006/08/04/sql-iszero-solution-for-divide-by-zero-error/comment-page-1/#comment-97</link>
		<dc:creator>rs</dc:creator>
		<pubDate>Thu, 26 Feb 2009 08:56:22 +0000</pubDate>
		<guid isPermaLink="false">https://richardsantos.wordpress.com/2006/08/04/sql-iszero/#comment-97</guid>
		<description>double check the arguments on your ROUND function. ROUND(numeric_expression, length). Length is the precision to which the numeric_expression is to be rounded.</description>
		<content:encoded><![CDATA[<p><code>double check the arguments on your ROUND function. ROUND(numeric_expression, length). Length is the precision to which the numeric_expression is to be rounded.</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.richardsantos.net/2006/08/04/sql-iszero-solution-for-divide-by-zero-error/comment-page-1/#comment-95</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Thu, 26 Feb 2009 02:54:07 +0000</pubDate>
		<guid isPermaLink="false">https://richardsantos.wordpress.com/2006/08/04/sql-iszero/#comment-95</guid>
		<description>Doh! Why does it work for everyone else, but I get a "ROUND requires 2 arguments" error?</description>
		<content:encoded><![CDATA[<p><code>Doh! Why does it work for everyone else, but I get a &#8220;ROUND requires 2 arguments&#8221; error?</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Renato</title>
		<link>http://www.richardsantos.net/2006/08/04/sql-iszero-solution-for-divide-by-zero-error/comment-page-1/#comment-58</link>
		<dc:creator>Renato</dc:creator>
		<pubDate>Thu, 05 Feb 2009 19:17:45 +0000</pubDate>
		<guid isPermaLink="false">https://richardsantos.wordpress.com/2006/08/04/sql-iszero/#comment-58</guid>
		<description>keep the good work !!!!</description>
		<content:encoded><![CDATA[<p><code>keep the good work !!!!</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://www.richardsantos.net/2006/08/04/sql-iszero-solution-for-divide-by-zero-error/comment-page-1/#comment-57</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Fri, 30 Jan 2009 14:28:52 +0000</pubDate>
		<guid isPermaLink="false">https://richardsantos.wordpress.com/2006/08/04/sql-iszero/#comment-57</guid>
		<description>I was about to write my own function to do exactly the same thing as NULLIF until I found this post and realized that one already existed. Thanks!!</description>
		<content:encoded><![CDATA[<p><code>I was about to write my own function to do exactly the same thing as NULLIF until I found this post and realized that one already existed. Thanks!!</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>
