<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Comments for Being Mark Cohen</title>
	
	<link>http://beingmarkcohen.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 14 Jul 2010 01:00:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/CommentsForBeingMarkCohen" /><feedburner:info uri="commentsforbeingmarkcohen" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Comment on Short-circuit evaluation in SQL by Richard C</title>
		<link>http://feedproxy.google.com/~r/CommentsForBeingMarkCohen/~3/yHJzSkp6eSE/</link>
		<dc:creator>Richard C</dc:creator>
		<pubDate>Wed, 14 Jul 2010 01:00:28 +0000</pubDate>
		<guid isPermaLink="false">http://beingmarkcohen.com/?p=62#comment-1438</guid>
		<description>Jeff's already posted the counter.  But I was working up my own as well using your sample test.

create table OrgView (ORGNAME varchar(100), QID int, ANSWER varchar(100))

insert into orgview (orgname, qid, answer) values('org1', 120, '1')
insert into orgview (orgname, qid, answer) values('org2', 94, '2006-06-06')
insert into orgview (orgname, qid, answer) values('org3', 98, 'all about loving you')

SELECT orgname FROM OrgView
WHERE ANSWER IS NOT NULL AND qid/0 = 1

The point is that yes, SQL Server will perform short circuit evaluation.
But NO, it is not left to right.
It is determined by the query optimizer based on least cost.

In my revised form above, IS NOT NULL on a text field is more expensive than integer division, so SQL Server zooms in on that one first.  Whoalla, bang - divide by zero.

QED</description>
		<content:encoded><![CDATA[<p>Jeff&#8217;s already posted the counter.  But I was working up my own as well using your sample test.</p>
<p>create table OrgView (ORGNAME varchar(100), QID int, ANSWER varchar(100))</p>
<p>insert into orgview (orgname, qid, answer) values(&#8216;org1&#8242;, 120, &#8216;1&#8242;)<br />
insert into orgview (orgname, qid, answer) values(&#8216;org2&#8242;, 94, &#8216;2006-06-06&#8242;)<br />
insert into orgview (orgname, qid, answer) values(&#8216;org3&#8242;, 98, &#8216;all about loving you&#8217;)</p>
<p>SELECT orgname FROM OrgView<br />
WHERE ANSWER IS NOT NULL AND qid/0 = 1</p>
<p>The point is that yes, SQL Server will perform short circuit evaluation.<br />
But NO, it is not left to right.<br />
It is determined by the query optimizer based on least cost.</p>
<p>In my revised form above, IS NOT NULL on a text field is more expensive than integer division, so SQL Server zooms in on that one first.  Whoalla, bang &#8211; divide by zero.</p>
<p>QED</p>
]]></content:encoded>
	<feedburner:origLink>http://beingmarkcohen.com/?p=62&amp;cpage=1#comment-1438</feedburner:origLink></item>
	<item>
		<title>Comment on Outlook toolbar disappeared? by PreviouslySeen</title>
		<link>http://feedproxy.google.com/~r/CommentsForBeingMarkCohen/~3/isN_fjmAc8k/</link>
		<dc:creator>PreviouslySeen</dc:creator>
		<pubDate>Thu, 24 Jun 2010 16:31:48 +0000</pubDate>
		<guid isPermaLink="false">http://beingmarkcohen.com/?p=65#comment-1431</guid>
		<description>Thanks for this, it solved an issue that was stumping our IT support.</description>
		<content:encoded><![CDATA[<p>Thanks for this, it solved an issue that was stumping our IT support.</p>
]]></content:encoded>
	<feedburner:origLink>http://beingmarkcohen.com/?p=65&amp;cpage=1#comment-1431</feedburner:origLink></item>
	<item>
		<title>Comment on Outlook Contact Scrubber by Mark Cohen</title>
		<link>http://feedproxy.google.com/~r/CommentsForBeingMarkCohen/~3/WjbPN9mZeZM/</link>
		<dc:creator>Mark Cohen</dc:creator>
		<pubDate>Mon, 21 Jun 2010 05:45:02 +0000</pubDate>
		<guid isPermaLink="false">http://beingmarkcohen.com/?p=232#comment-1427</guid>
		<description>This app is not so free any more, it's gone commercial and costs $50 USD now</description>
		<content:encoded><![CDATA[<p>This app is not so free any more, it&#8217;s gone commercial and costs $50 USD now</p>
]]></content:encoded>
	<feedburner:origLink>http://beingmarkcohen.com/?p=232&amp;cpage=1#comment-1427</feedburner:origLink></item>
	<item>
		<title>Comment on Delivering Happiness – Book out this week by popz</title>
		<link>http://feedproxy.google.com/~r/CommentsForBeingMarkCohen/~3/dV0BbCNVf00/</link>
		<dc:creator>popz</dc:creator>
		<pubDate>Sat, 12 Jun 2010 10:49:19 +0000</pubDate>
		<guid isPermaLink="false">http://beingmarkcohen.com/?p=492#comment-1416</guid>
		<description>Mark,

I want one!
Why I want it? well, since the 'mycareer melb office' era, I haven't been working in any organisation where I can truly admit "I love my job and my colleagues and can't wait to meet all of them in the morning!". So, rather than job hopping and keep moving from one job to another job, I have decided to change my current workplace environment. 
I introduce heaps of team building time, bring the whole team back to basic (their passion for programming &amp; IT), and try my best to bring "joy" to the people I work with. Hopefully that book will help me to pursuit more...happiness at work.. :)
so is this enuf? or shall i wrote more...:D</description>
		<content:encoded><![CDATA[<p>Mark,</p>
<p>I want one!<br />
Why I want it? well, since the &#8216;mycareer melb office&#8217; era, I haven&#8217;t been working in any organisation where I can truly admit &#8220;I love my job and my colleagues and can&#8217;t wait to meet all of them in the morning!&#8221;. So, rather than job hopping and keep moving from one job to another job, I have decided to change my current workplace environment.<br />
I introduce heaps of team building time, bring the whole team back to basic (their passion for programming &#038; IT), and try my best to bring &#8220;joy&#8221; to the people I work with. Hopefully that book will help me to pursuit more&#8230;happiness at work.. <img src='http://beingmarkcohen.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
so is this enuf? or shall i wrote more&#8230;:D</p>
]]></content:encoded>
	<feedburner:origLink>http://beingmarkcohen.com/?p=492&amp;cpage=1#comment-1416</feedburner:origLink></item>
	<item>
		<title>Comment on Outlook toolbar disappeared? by OrderedList</title>
		<link>http://feedproxy.google.com/~r/CommentsForBeingMarkCohen/~3/bu7ep7iLR3w/</link>
		<dc:creator>OrderedList</dc:creator>
		<pubDate>Fri, 07 May 2010 02:39:27 +0000</pubDate>
		<guid isPermaLink="false">http://beingmarkcohen.com/?p=65#comment-1388</guid>
		<description>Thank you. Can I just say that this is one of those jaw-dropping computer moments when I think, "Microsoft, you have got to be kidding me."</description>
		<content:encoded><![CDATA[<p>Thank you. Can I just say that this is one of those jaw-dropping computer moments when I think, &#8220;Microsoft, you have got to be kidding me.&#8221;</p>
]]></content:encoded>
	<feedburner:origLink>http://beingmarkcohen.com/?p=65&amp;cpage=1#comment-1388</feedburner:origLink></item>
	<item>
		<title>Comment on Sunset at La Perouse by Ricardo Bueno</title>
		<link>http://feedproxy.google.com/~r/CommentsForBeingMarkCohen/~3/ZjI-3f-Z_Yc/</link>
		<dc:creator>Ricardo Bueno</dc:creator>
		<pubDate>Thu, 06 May 2010 06:24:26 +0000</pubDate>
		<guid isPermaLink="false">http://beingmarkcohen.com/?p=486#comment-1387</guid>
		<description>Something I've been enjoying very much as of late is taking a break to disconnect from technology and refresh. For me this means heading to the beach to take a walk by the pier and do nothing more than just enjoy the sunset. Leaves me charged up for the days/weeks ahead!</description>
		<content:encoded><![CDATA[<p>Something I&#8217;ve been enjoying very much as of late is taking a break to disconnect from technology and refresh. For me this means heading to the beach to take a walk by the pier and do nothing more than just enjoy the sunset. Leaves me charged up for the days/weeks ahead!</p>
]]></content:encoded>
	<feedburner:origLink>http://beingmarkcohen.com/?p=486&amp;cpage=1#comment-1387</feedburner:origLink></item>
	<item>
		<title>Comment on Outlook toolbar disappeared? by Kevin Zimemrman</title>
		<link>http://feedproxy.google.com/~r/CommentsForBeingMarkCohen/~3/jBDDggtbG4c/</link>
		<dc:creator>Kevin Zimemrman</dc:creator>
		<pubDate>Tue, 27 Apr 2010 19:51:34 +0000</pubDate>
		<guid isPermaLink="false">http://beingmarkcohen.com/?p=65#comment-1364</guid>
		<description>Thank you.  This is exactly what I was looking for.</description>
		<content:encoded><![CDATA[<p>Thank you.  This is exactly what I was looking for.</p>
]]></content:encoded>
	<feedburner:origLink>http://beingmarkcohen.com/?p=65&amp;cpage=1#comment-1364</feedburner:origLink></item>
	<item>
		<title>Comment on Macro photography with an iPhone by Abdi</title>
		<link>http://feedproxy.google.com/~r/CommentsForBeingMarkCohen/~3/FS1ZwGErsEo/</link>
		<dc:creator>Abdi</dc:creator>
		<pubDate>Tue, 27 Apr 2010 07:01:16 +0000</pubDate>
		<guid isPermaLink="false">http://beingmarkcohen.com/?p=470#comment-1361</guid>
		<description>This is SICK!!!! (in a good way) I still have a couple of old drives, so I think it's time to start digging for that lens ;-)

What kind of case do you use for your iPhone??</description>
		<content:encoded><![CDATA[<p>This is SICK!!!! (in a good way) I still have a couple of old drives, so I think it&#8217;s time to start digging for that lens <img src='http://beingmarkcohen.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>What kind of case do you use for your iPhone??</p>
]]></content:encoded>
	<feedburner:origLink>http://beingmarkcohen.com/?p=470&amp;cpage=1#comment-1361</feedburner:origLink></item>
	<item>
		<title>Comment on RIP Dr Seuss by Mark Cohen</title>
		<link>http://feedproxy.google.com/~r/CommentsForBeingMarkCohen/~3/wnMkSRH4peY/</link>
		<dc:creator>Mark Cohen</dc:creator>
		<pubDate>Mon, 26 Apr 2010 11:28:34 +0000</pubDate>
		<guid isPermaLink="false">http://beingmarkcohen.com/?p=480#comment-1350</guid>
		<description>I always feel like those bubbles are following me around too :-P</description>
		<content:encoded><![CDATA[<p>I always feel like those bubbles are following me around too <img src='http://beingmarkcohen.com/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> </p>
]]></content:encoded>
	<feedburner:origLink>http://beingmarkcohen.com/?p=480&amp;cpage=1#comment-1350</feedburner:origLink></item>
	<item>
		<title>Comment on RIP Dr Seuss by Charlie the Unc</title>
		<link>http://feedproxy.google.com/~r/CommentsForBeingMarkCohen/~3/vnst8PPinEA/</link>
		<dc:creator>Charlie the Unc</dc:creator>
		<pubDate>Sun, 25 Apr 2010 13:04:58 +0000</pubDate>
		<guid isPermaLink="false">http://beingmarkcohen.com/?p=480#comment-1335</guid>
		<description>I love it.
You are part of a funny crowd - the other day one of Lee's twins (Adina) said "Imma, why can't I see my bubbles?" Lee asked "What bubbles?" and Adina answered "You know - those bubbles like in books when people are thinking".</description>
		<content:encoded><![CDATA[<p>I love it.<br />
You are part of a funny crowd &#8211; the other day one of Lee&#8217;s twins (Adina) said &#8220;Imma, why can&#8217;t I see my bubbles?&#8221; Lee asked &#8220;What bubbles?&#8221; and Adina answered &#8220;You know &#8211; those bubbles like in books when people are thinking&#8221;.</p>
]]></content:encoded>
	<feedburner:origLink>http://beingmarkcohen.com/?p=480&amp;cpage=1#comment-1335</feedburner:origLink></item>
</channel>
</rss>
