<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Null &#8211; again</title>
	<atom:link href="http://jonathanlewis.wordpress.com/2012/09/06/null-again/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanlewis.wordpress.com/2012/09/06/null-again/</link>
	<description>Just another Oracle weblog</description>
	<lastBuildDate>Wed, 19 Jun 2013 22:21:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Jared</title>
		<link>http://jonathanlewis.wordpress.com/2012/09/06/null-again/#comment-49969</link>
		<dc:creator><![CDATA[Jared]]></dc:creator>
		<pubDate>Fri, 07 Sep 2012 19:24:04 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=9398#comment-49969</guid>
		<description><![CDATA[Thanks for your comment Jonathan.  I considered that as well, but thought my question might bring some clarity to folks that may be reading this and have only recently started learning about oracle.  The astute newbies will create and test the table with the various methods.  :)]]></description>
		<content:encoded><![CDATA[<p>Thanks for your comment Jonathan.  I considered that as well, but thought my question might bring some clarity to folks that may be reading this and have only recently started learning about oracle.  The astute newbies will create and test the table with the various methods.  :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2012/09/06/null-again/#comment-49965</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Fri, 07 Sep 2012 19:07:09 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=9398#comment-49965</guid>
		<description><![CDATA[Jared,

I nearly asked a similar question - then realised that I hadn&#039;t made any explicit comment to the effect that comparisons with null should be &quot;is NULL&quot; rather than &quot;= NULL&quot;, so I suspect that Sasa&#039;s comment was intended to make that point for me (even though it&#039;s redundant in the example).]]></description>
		<content:encoded><![CDATA[<p>Jared,</p>
<p>I nearly asked a similar question &#8211; then realised that I hadn&#8217;t made any explicit comment to the effect that comparisons with null should be &#8220;is NULL&#8221; rather than &#8220;= NULL&#8221;, so I suspect that Sasa&#8217;s comment was intended to make that point for me (even though it&#8217;s redundant in the example).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jared</title>
		<link>http://jonathanlewis.wordpress.com/2012/09/06/null-again/#comment-49955</link>
		<dc:creator><![CDATA[Jared]]></dc:creator>
		<pubDate>Fri, 07 Sep 2012 14:47:22 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=9398#comment-49955</guid>
		<description><![CDATA[Sasa, what is the purpose of including &#039;is null&#039; in the constraint?]]></description>
		<content:encoded><![CDATA[<p>Sasa, what is the purpose of including &#8216;is null&#8217; in the constraint?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sasa Petkovic</title>
		<link>http://jonathanlewis.wordpress.com/2012/09/06/null-again/#comment-49945</link>
		<dc:creator><![CDATA[Sasa Petkovic]]></dc:creator>
		<pubDate>Fri, 07 Sep 2012 07:55:06 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=9398#comment-49945</guid>
		<description><![CDATA[[sourcecode]
create table t1 (
	v1 varchar2(10),
	constraint c1 check (v1 = &#039;A&#039; or v1 is null)
);
[/sourcecode]
With this insert into t1 values(&#039;B&#039;); would be prevented...]]></description>
		<content:encoded><![CDATA[<pre class="brush: plain; title: ; notranslate">
create table t1 (
	v1 varchar2(10),
	constraint c1 check (v1 = 'A' or v1 is null)
);
</pre>
<p>With this insert into t1 values(&#8216;B&#8217;); would be prevented&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jared</title>
		<link>http://jonathanlewis.wordpress.com/2012/09/06/null-again/#comment-49927</link>
		<dc:creator><![CDATA[Jared]]></dc:creator>
		<pubDate>Thu, 06 Sep 2012 18:02:26 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=9398#comment-49927</guid>
		<description><![CDATA[This is one of those logic bugs that I might look at several times and not notice the error.
Of course it is not necessary to include the check for null in the constraint anyway, just keep the column nullable.]]></description>
		<content:encoded><![CDATA[<p>This is one of those logic bugs that I might look at several times and not notice the error.<br />
Of course it is not necessary to include the check for null in the constraint anyway, just keep the column nullable.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
