<?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: Why NULL never compares false to anything in SQL</title>
	<atom:link href="http://www.xaprb.com/blog/2006/05/18/why-null-never-compares-false-to-anything-in-sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xaprb.com/blog/2006/05/18/why-null-never-compares-false-to-anything-in-sql/</link>
	<description>Stay curious!</description>
	<lastBuildDate>Thu, 09 Feb 2012 20:41:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Aaron</title>
		<link>http://www.xaprb.com/blog/2006/05/18/why-null-never-compares-false-to-anything-in-sql/#comment-19862</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Thu, 02 Feb 2012 21:29:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=149#comment-19862</guid>
		<description>Not quite related, but I guess I would have written a different query to that in the example:
select shoeStyle,
   count(color) as Count,
   sum(color = &#039;red&#039;) as redCount,
   sum(color = &#039;green&#039;) as greenCount,
   sum(color = &#039;blue&#039;) as blueCount
from bowlingShoes
group by shoeStyle;

As an old C programmer, I love abusing types.</description>
		<content:encoded><![CDATA[<p>Not quite related, but I guess I would have written a different query to that in the example:<br />
select shoeStyle,<br />
   count(color) as Count,<br />
   sum(color = &#8216;red&#8217;) as redCount,<br />
   sum(color = &#8216;green&#8217;) as greenCount,<br />
   sum(color = &#8216;blue&#8217;) as blueCount<br />
from bowlingShoes<br />
group by shoeStyle;</p>
<p>As an old C programmer, I love abusing types.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jflo</title>
		<link>http://www.xaprb.com/blog/2006/05/18/why-null-never-compares-false-to-anything-in-sql/#comment-19482</link>
		<dc:creator>jflo</dc:creator>
		<pubDate>Thu, 07 Jul 2011 23:02:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=149#comment-19482</guid>
		<description>Thanks!!</description>
		<content:encoded><![CDATA[<p>Thanks!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fred Zarguna</title>
		<link>http://www.xaprb.com/blog/2006/05/18/why-null-never-compares-false-to-anything-in-sql/#comment-19446</link>
		<dc:creator>Fred Zarguna</dc:creator>
		<pubDate>Thu, 23 Jun 2011 05:30:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=149#comment-19446</guid>
		<description>Your two predicates are also incomplete, and do not actually encompass the non-propositional logic of SQL. To wit, there is a third predicate required to describe the state of NULL:

3. No value can ever be unequal to a non-value.</description>
		<content:encoded><![CDATA[<p>Your two predicates are also incomplete, and do not actually encompass the non-propositional logic of SQL. To wit, there is a third predicate required to describe the state of NULL:</p>
<p>3. No value can ever be unequal to a non-value.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fred Zarguna</title>
		<link>http://www.xaprb.com/blog/2006/05/18/why-null-never-compares-false-to-anything-in-sql/#comment-19445</link>
		<dc:creator>Fred Zarguna</dc:creator>
		<pubDate>Thu, 23 Jun 2011 05:26:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=149#comment-19445</guid>
		<description>read NULL 5 as NULL &lt;&gt; 5 in my post. Your posting mechanism treated my &gt; and &lt; as html...</description>
		<content:encoded><![CDATA[<p>read NULL 5 as NULL &lt;&gt; 5 in my post. Your posting mechanism treated my &gt; and &lt; as html&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fred Zarguna</title>
		<link>http://www.xaprb.com/blog/2006/05/18/why-null-never-compares-false-to-anything-in-sql/#comment-19444</link>
		<dc:creator>Fred Zarguna</dc:creator>
		<pubDate>Thu, 23 Jun 2011 05:25:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=149#comment-19444</guid>
		<description>Your &quot;proof&quot; that &quot;NULL  5 is not true&quot; is, in fact, nonsense.  

This statement cannot be proved or disproved in the context of the propositional calculus, which is what you&#039;re attempting to do: in the propositional calculus, an admissible statement is either true or it is false.  Your &quot;proof&quot; that NULL  5 produces a contradiction propositionally implies that NOT(NULL  5) is true.  This statement is also not true. Therefore, it is not really a propositional statement.  Neither the statement NULL  5 nor ~(NULL  5) is true.  By the same token, neither statement is false either.  They are not propositional statements; they cannot be proven.  

[The additional restriction in your &quot;proof&quot; that NULL be a finite real is unnecessary.  In the domain of extended reals, {x &#124; x  5} can certainly include x = +- infinity.  ]</description>
		<content:encoded><![CDATA[<p>Your &#8220;proof&#8221; that &#8220;NULL  5 is not true&#8221; is, in fact, nonsense.  </p>
<p>This statement cannot be proved or disproved in the context of the propositional calculus, which is what you&#8217;re attempting to do: in the propositional calculus, an admissible statement is either true or it is false.  Your &#8220;proof&#8221; that NULL  5 produces a contradiction propositionally implies that NOT(NULL  5) is true.  This statement is also not true. Therefore, it is not really a propositional statement.  Neither the statement NULL  5 nor ~(NULL  5) is true.  By the same token, neither statement is false either.  They are not propositional statements; they cannot be proven.  </p>
<p>[The additional restriction in your "proof" that NULL be a finite real is unnecessary.  In the domain of extended reals, {x | x  5} can certainly include x = +- infinity.  ]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

