<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule">

<channel>
<title>Null Vs. Empty in Webmasters and Developers</title>
<link>http://www.dslreports.com/forum/r21754656</link>
<description></description>
<language>en</language>
<pubDate>Wed, 02 Dec 2009 23:42:04 EDT</pubDate>
<lastBuildDate>Wed, 02 Dec 2009 23:42:04 EDT</lastBuildDate>

<item>
<title>Re: Null Vs. Empty</title>
<link>http://www.dslreports.com/forum/remark,21761383</link>
<description><![CDATA[<A HREF="/useremail/u/1516483"><b>Tenar</b></A> : Just don't set your database fields to 'NULL' (the string)  LOL I've seen that. =P]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21761383</guid>
<pubDate>Sat, 17 Jan 2009 23:55:08 EDT</pubDate>
</item>

<item>
<title>Re: Null Vs. Empty</title>
<link>http://www.dslreports.com/forum/remark,21759029</link>
<description><![CDATA[<A HREF="/useremail/u/588627"><b>teddy</b></A> : Just like to chip in, Oracle treats null and '' both as null.  A pain sometimes, really.<br><small>--<br>&raquo;<A HREF="http://www.chemicalfusion.net" >www.chemicalfusion.net</A></small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21759029</guid>
<pubDate>Sat, 17 Jan 2009 15:09:09 EDT</pubDate>
</item>

<item>
<title>Re: Null Vs. Empty</title>
<link>http://www.dslreports.com/forum/remark,21755630</link>
<description><![CDATA[<A HREF="/useremail/u/1401508"><b>Code_Iain</b></A> : Both other posters are correct with what they said, but just to give you an additional warning when working with both, <br><br>NULL represents the absence of a value and '' (empty string) is a value, so for example if your table has a unique index on a column, multiple rows can have that column set to NULL, but only 1 can be set to ''.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21755630</guid>
<pubDate>Fri, 16 Jan 2009 20:45:19 EDT</pubDate>
</item>

<item>
<title>Re: Null Vs. Empty</title>
<link>http://www.dslreports.com/forum/remark,21754842</link>
<description><![CDATA[<A HREF="/useremail/u/858299"><b>McSummation</b></A> :  jayco437 <A HREF="/useremail/u/449413"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> did a good job of explaining the difference.<br><br>Another way to look at it is: a NULL field (can be any field, not just strings) has nothing stored in it.  However, an "empty string" has a value, a "zero length" string.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21754842</guid>
<pubDate>Fri, 16 Jan 2009 18:30:51 EDT</pubDate>
</item>

<item>
<title>Re: Null Vs. Empty</title>
<link>http://www.dslreports.com/forum/remark,21754734</link>
<description><![CDATA[<A HREF="/useremail/u/449413"><b>jayco437</b></A> : <div class="bquote"><small>said by  squatpuke <A HREF="/useremail/u/989890"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</small><br><br>.<br>If a database field is originally NULL...then data is added....then removed....is the field NULL again...<br></div>I would imagine it could vary between databases, but my general thought is no it would not be NULL unless you explicitly set it to NULL, versus setting it to a blank string.<br><br><div class="bquote"><small>said by  squatpuke <A HREF="/useremail/u/989890"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</small><br><br>.<br>What is the difference between NULL and Once Filled/Now Empty....<br> </div>NULL is usually a default value for a field that doesn't require a value.  Depending on the database, you could set default to an empty string instead of NULL.  You could also programmatically set a field to NULL when it has been emptied of data, thus eliminating the ambiguity between NULL and and an empty string.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21754734</guid>
<pubDate>Fri, 16 Jan 2009 18:10:46 EDT</pubDate>
</item>

<item>
<title>Null Vs. Empty</title>
<link>http://www.dslreports.com/forum/remark,21754656</link>
<description><![CDATA[<A HREF="/useremail/u/989890"><b>squatpuke</b></A> : .<br>.<br>If a database field is originally NULL...then data is added....then removed....is the field NULL again...<br><br>What is the difference between NULL and Once Filled/Now Empty....<br><br>Thanks...<br><br>(btw...TSql)]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21754656</guid>
<pubDate>Fri, 16 Jan 2009 17:53:28 EDT</pubDate>
</item>

</channel>
</rss>
