<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Why IS NULL doesn&#8217;t always work in MySQL</title>
	<link>http://www.xaprb.com/blog/2007/05/31/why-is-null-doesnt-always-work-in-mysql/</link>
	<description>Stay curious!</description>
	<pubDate>Wed, 09 Jul 2008 04:05:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>

	<item>
		<title>By: Xaprb</title>
		<link>http://www.xaprb.com/blog/2007/05/31/why-is-null-doesnt-always-work-in-mysql/#comment-10332</link>
		<author>Xaprb</author>
		<pubDate>Sat, 02 Jun 2007 02:16:50 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2007/05/31/why-is-null-doesnt-always-work-in-mysql/#comment-10332</guid>
		<description>Well, 2 and 3 were easy because I didn't encounter them "in the wild" -- I read about them in the manual accidentally.  But #1, well, that one took me a while to understand.  It was a weird failing test that ran in production but failed in the test environment, which was configured differently.  Then again just a few days ago, my coworker ran into the same thing (because I accidentally mis-configured the test DB servers again) and it reminded me of it.</description>
		<content:encoded><![CDATA[<p>Well, 2 and 3 were easy because I didn&#8217;t encounter them &#8220;in the wild&#8221; &#8212; I read about them in the manual accidentally.  But #1, well, that one took me a while to understand.  It was a weird failing test that ran in production but failed in the test environment, which was configured differently.  Then again just a few days ago, my coworker ran into the same thing (because I accidentally mis-configured the test DB servers again) and it reminded me of it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronald Bradford</title>
		<link>http://www.xaprb.com/blog/2007/05/31/why-is-null-doesnt-always-work-in-mysql/#comment-10310</link>
		<author>Ronald Bradford</author>
		<pubDate>Fri, 01 Jun 2007 22:58:59 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2007/05/31/why-is-null-doesnt-always-work-in-mysql/#comment-10310</guid>
		<description>Very insightful.  The question Baron is how long did it take you to work out the point 1,2 and 3.  

Obviously other factors like when in the day, what other fires and alcohol are all valid excuses to claim it took longer then you are prepared to admit.

RTFM. Even I found the same yet again today in "Innodb Monitoring I didn’t know" -- http://blog.arabx.com.au/?p=702</description>
		<content:encoded><![CDATA[<p>Very insightful.  The question Baron is how long did it take you to work out the point 1,2 and 3.  </p>
<p>Obviously other factors like when in the day, what other fires and alcohol are all valid excuses to claim it took longer then you are prepared to admit.</p>
<p>RTFM. Even I found the same yet again today in &#8220;Innodb Monitoring I didn’t know&#8221; &#8212; <a href="http://blog.arabx.com.au/?p=702" rel="nofollow">http://blog.arabx.com.au/?p=702</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rdb Notes &#183; Why IS NULL doesn’t always work in MySQL at Xaprb</title>
		<link>http://www.xaprb.com/blog/2007/05/31/why-is-null-doesnt-always-work-in-mysql/#comment-10242</link>
		<author>Rdb Notes &#183; Why IS NULL doesn’t always work in MySQL at Xaprb</author>
		<pubDate>Fri, 01 Jun 2007 14:24:25 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2007/05/31/why-is-null-doesnt-always-work-in-mysql/#comment-10242</guid>
		<description>[...]  Why IS NULL doesn’t always work in MySQL at Xaprb How can a query like “SELECT * FROM tbl WHERE col IS NULL” return a row where the column has a (non-NULL) value? Read on to find out. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;]  Why IS NULL doesn’t always work in MySQL at Xaprb How can a query like “SELECT * FROM tbl WHERE col IS NULL” return a row where the column has a (non-NULL) value? Read on to find out. [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xaprb</title>
		<link>http://www.xaprb.com/blog/2007/05/31/why-is-null-doesnt-always-work-in-mysql/#comment-10207</link>
		<author>Xaprb</author>
		<pubDate>Fri, 01 Jun 2007 13:19:05 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2007/05/31/why-is-null-doesnt-always-work-in-mysql/#comment-10207</guid>
		<description>Yes, I like SQL Server's behavior better too.  It's an auto-generated number -- it should have a big "can't touch this" sign in front of it.</description>
		<content:encoded><![CDATA[<p>Yes, I like SQL Server&#8217;s behavior better too.  It&#8217;s an auto-generated number &#8212; it should have a big &#8220;can&#8217;t touch this&#8221; sign in front of it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill</title>
		<link>http://www.xaprb.com/blog/2007/05/31/why-is-null-doesnt-always-work-in-mysql/#comment-10206</link>
		<author>Bill</author>
		<pubDate>Fri, 01 Jun 2007 13:16:49 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2007/05/31/why-is-null-doesnt-always-work-in-mysql/#comment-10206</guid>
		<description>IMO, it should error out when you attempt to put a value in the auto increment field without first stating that you intended to do that (turn it off).  That's how SQL Server works, and is in all honesty, much more intuitive in this regard.</description>
		<content:encoded><![CDATA[<p>IMO, it should error out when you attempt to put a value in the auto increment field without first stating that you intended to do that (turn it off).  That&#8217;s how SQL Server works, and is in all honesty, much more intuitive in this regard.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xaprb</title>
		<link>http://www.xaprb.com/blog/2007/05/31/why-is-null-doesnt-always-work-in-mysql/#comment-10186</link>
		<author>Xaprb</author>
		<pubDate>Fri, 01 Jun 2007 10:29:39 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2007/05/31/why-is-null-doesnt-always-work-in-mysql/#comment-10186</guid>
		<description>That's a good quick-reference.  Thanks for the link.  Though this part "In MySQL this behaviour is necessary, as it is the only way of accessing the AUTO_INCREMENT pseudo-sequence" is not correct; there is LAST_INSERT_ID().</description>
		<content:encoded><![CDATA[<p>That&#8217;s a good quick-reference.  Thanks for the link.  Though this part &#8220;In MySQL this behaviour is necessary, as it is the only way of accessing the AUTO_INCREMENT pseudo-sequence&#8221; is not correct; there is LAST_INSERT_ID().</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.xaprb.com/blog/2007/05/31/why-is-null-doesnt-always-work-in-mysql/#comment-10171</link>
		<author>Anonymous</author>
		<pubDate>Fri, 01 Jun 2007 09:27:09 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2007/05/31/why-is-null-doesnt-always-work-in-mysql/#comment-10171</guid>
		<description>http://sql-info.de/mysql/gotchas.html</description>
		<content:encoded><![CDATA[<p><a href="http://sql-info.de/mysql/gotchas.html" rel="nofollow">http://sql-info.de/mysql/gotchas.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
