<?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: The Aggregate Function PRODUCT()</title>
	<atom:link href="http://michaeljswart.com/2011/03/the-aggregate-function-product/feed/" rel="self" type="application/rss+xml" />
	<link>http://michaeljswart.com/2011/03/the-aggregate-function-product/</link>
	<description>Database Whisperer</description>
	<lastBuildDate>Wed, 19 Jun 2013 04:32:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Erik Eckhardt</title>
		<link>http://michaeljswart.com/2011/03/the-aggregate-function-product/comment-page-1/#comment-5674</link>
		<dc:creator>Erik Eckhardt</dc:creator>
		<pubDate>Thu, 17 Mar 2011 23:24:52 +0000</pubDate>
		<guid isPermaLink="false">http://michaeljswart.com/?p=1376#comment-5674</guid>
		<description><![CDATA[The earliest hit I find via google is:

http://planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=159&amp;lngWId=5
Submitted by Umachandar on 7/25/2000 8:42:10 PM
http://www.umachandar.com/]]></description>
		<content:encoded><![CDATA[<p>The earliest hit I find via google is:</p>
<p><a href="http://planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=159&#038;lngWId=5" rel="nofollow">http://planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=159&#038;lngWId=5</a><br />
Submitted by Umachandar on 7/25/2000 8:42:10 PM<br />
<a href="http://www.umachandar.com/" rel="nofollow">http://www.umachandar.com/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jes Schultz Borland</title>
		<link>http://michaeljswart.com/2011/03/the-aggregate-function-product/comment-page-1/#comment-5660</link>
		<dc:creator>Jes Schultz Borland</dc:creator>
		<pubDate>Wed, 09 Mar 2011 02:45:21 +0000</pubDate>
		<guid isPermaLink="false">http://michaeljswart.com/?p=1376#comment-5660</guid>
		<description><![CDATA[Cool stuff, Michael. Thanks for sharing!]]></description>
		<content:encoded><![CDATA[<p>Cool stuff, Michael. Thanks for sharing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael J. Swart</title>
		<link>http://michaeljswart.com/2011/03/the-aggregate-function-product/comment-page-1/#comment-5659</link>
		<dc:creator>Michael J. Swart</dc:creator>
		<pubDate>Wed, 09 Mar 2011 02:43:16 +0000</pubDate>
		<guid isPermaLink="false">http://michaeljswart.com/?p=1376#comment-5659</guid>
		<description><![CDATA[Hi Naomi, 
Thanks for the link. It&#039;s interesting that it got mentioned by my friend Brad Shulz in that thread. 

In my post I linked to a google search above (and fixed the link just now). I was pointing to the search http://www.google.com/search?q=%2B%22EXP+SUM+LOG%22+%2Bsql which shows thousands of people who have discovered this before I did. C&#039;est la vie.

But none of them feature a picture of the Slap Chop guy do they ;-)]]></description>
		<content:encoded><![CDATA[<p>Hi Naomi,<br />
Thanks for the link. It&#8217;s interesting that it got mentioned by my friend Brad Shulz in that thread. </p>
<p>In my post I linked to a google search above (and fixed the link just now). I was pointing to the search <a href="http://www.google.com/search?q=%2B%22EXP+SUM+LOG%22+%2Bsql" rel="nofollow">http://www.google.com/search?q=%2B%22EXP+SUM+LOG%22+%2Bsql</a> which shows thousands of people who have discovered this before I did. C&#8217;est la vie.</p>
<p>But none of them feature a picture of the Slap Chop guy do they <img src='http://michaeljswart.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naomi</title>
		<link>http://michaeljswart.com/2011/03/the-aggregate-function-product/comment-page-1/#comment-5657</link>
		<dc:creator>Naomi</dc:creator>
		<pubDate>Wed, 09 Mar 2011 02:22:03 +0000</pubDate>
		<guid isPermaLink="false">http://michaeljswart.com/?p=1376#comment-5657</guid>
		<description><![CDATA[Nice, although we did touch it briefly also in this thread


&lt;a href=&quot;http://social.msdn.microsoft.com/Forums/en-US/transactsql/thread/14a92db0-7c0a-4be6-b8c4-9b2dce8863c8/&quot; rel=&quot;nofollow&quot;&gt;Lightning Fast Hybrid RUNNING TOTAL - Can you slow it down?&lt;/a&gt;]]></description>
		<content:encoded><![CDATA[<p>Nice, although we did touch it briefly also in this thread</p>
<p><a href="http://social.msdn.microsoft.com/Forums/en-US/transactsql/thread/14a92db0-7c0a-4be6-b8c4-9b2dce8863c8/" rel="nofollow">Lightning Fast Hybrid RUNNING TOTAL &#8211; Can you slow it down?</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael J Swart</title>
		<link>http://michaeljswart.com/2011/03/the-aggregate-function-product/comment-page-1/#comment-5655</link>
		<dc:creator>Michael J Swart</dc:creator>
		<pubDate>Tue, 08 Mar 2011 03:25:55 +0000</pubDate>
		<guid isPermaLink="false">http://michaeljswart.com/?p=1376#comment-5655</guid>
		<description><![CDATA[Thanks Rob, 
I left the mention of zeroes and negatives to keen commenters like yourself.

Cheers]]></description>
		<content:encoded><![CDATA[<p>Thanks Rob,<br />
I left the mention of zeroes and negatives to keen commenters like yourself.</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Farley</title>
		<link>http://michaeljswart.com/2011/03/the-aggregate-function-product/comment-page-1/#comment-5654</link>
		<dc:creator>Rob Farley</dc:creator>
		<pubDate>Tue, 08 Mar 2011 02:13:11 +0000</pubDate>
		<guid isPermaLink="false">http://michaeljswart.com/?p=1376#comment-5654</guid>
		<description><![CDATA[No mention of negatives and zeroes? (I guess inflation multipliers are always positive, so it&#039;s fair enough)

(1 - 2*(COUNT(case when inflationRate &lt; 0 then 1 end) % 2)) * MIN(case when inflationRate = 0 then 0 else 1 end) * EXP(SUM(LOG(ABS(NULLIF(inflationRate,0)))))

All good though - it&#039;s nice to be reminded of this stuff.

Rob]]></description>
		<content:encoded><![CDATA[<p>No mention of negatives and zeroes? (I guess inflation multipliers are always positive, so it&#8217;s fair enough)</p>
<p>(1 &#8211; 2*(COUNT(case when inflationRate &lt; 0 then 1 end) % 2)) * MIN(case when inflationRate = 0 then 0 else 1 end) * EXP(SUM(LOG(ABS(NULLIF(inflationRate,0)))))</p>
<p>All good though &#8211; it&#039;s nice to be reminded of this stuff.</p>
<p>Rob</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching using disk: basic
Object Caching 252/254 objects using disk: basic

 Served from: michaeljswart.com @ 2013-06-20 02:17:05 by W3 Total Cache -->