<?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: How-To MySQL CREATE TABLE Example showing default values, NULL values and comments</title>
	<atom:link href="http://www.kbedell.com/2009/03/07/how-to-mysql-example-showing-default-values-null-values-and-comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kbedell.com/2009/03/07/how-to-mysql-example-showing-default-values-null-values-and-comments/</link>
	<description>Discussions on Ruby on Rails, Agile Development and the Boston Tech Scene.</description>
	<lastBuildDate>Fri, 13 Jan 2012 00:07:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.kbedell.com/2009/03/07/how-to-mysql-example-showing-default-values-null-values-and-comments/comment-page-1/#comment-202</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Sun, 18 Dec 2011 19:38:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.kbedell.com/?p=115#comment-202</guid>
		<description>how to add default value with alter table?
&lt;p class=&quot;top-comments&quot;&gt;Current score: &lt;span class=&quot;top-comments-karma&quot; id=&quot;karma-202&quot;&gt;0&lt;/span&gt; &lt;small&gt;(to vote for this comment, please visit the site)&lt;/small&gt;&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>how to add default value with alter table?</p>
<p class="top-comments">Current score: <span class="top-comments-karma" id="karma-202">0</span> <small>(to vote for this comment, please visit the site)</small></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohamed</title>
		<link>http://www.kbedell.com/2009/03/07/how-to-mysql-example-showing-default-values-null-values-and-comments/comment-page-1/#comment-189</link>
		<dc:creator>Mohamed</dc:creator>
		<pubDate>Thu, 15 Sep 2011 18:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.kbedell.com/?p=115#comment-189</guid>
		<description> mmmm&lt;p class=&quot;top-comments&quot;&gt;Current score: &lt;span class=&quot;top-comments-karma&quot; id=&quot;karma-189&quot;&gt;0&lt;/span&gt; &lt;small&gt;(to vote for this comment, please visit the site)&lt;/small&gt;&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p> mmmm
<p class="top-comments">Current score: <span class="top-comments-karma" id="karma-189">0</span> <small>(to vote for this comment, please visit the site)</small></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arunstalins</title>
		<link>http://www.kbedell.com/2009/03/07/how-to-mysql-example-showing-default-values-null-values-and-comments/comment-page-1/#comment-188</link>
		<dc:creator>Arunstalins</dc:creator>
		<pubDate>Wed, 14 Sep 2011 05:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.kbedell.com/?p=115#comment-188</guid>
		<description>thakqqqqqqqqq &lt;p class=&quot;top-comments&quot;&gt;Current score: &lt;span class=&quot;top-comments-karma&quot; id=&quot;karma-188&quot;&gt;0&lt;/span&gt; &lt;small&gt;(to vote for this comment, please visit the site)&lt;/small&gt;&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>thakqqqqqqqqq
<p class="top-comments">Current score: <span class="top-comments-karma" id="karma-188">0</span> <small>(to vote for this comment, please visit the site)</small></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: canlı maç izle</title>
		<link>http://www.kbedell.com/2009/03/07/how-to-mysql-example-showing-default-values-null-values-and-comments/comment-page-1/#comment-148</link>
		<dc:creator>canlı maç izle</dc:creator>
		<pubDate>Thu, 03 Mar 2011 11:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.kbedell.com/?p=115#comment-148</guid>
		<description>thanks this is very helpful&lt;p class=&quot;top-comments&quot;&gt;Current score: &lt;span class=&quot;top-comments-karma&quot; id=&quot;karma-148&quot;&gt;0&lt;/span&gt; &lt;small&gt;(to vote for this comment, please visit the site)&lt;/small&gt;&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>thanks this is very helpful
<p class="top-comments">Current score: <span class="top-comments-karma" id="karma-148">0</span> <small>(to vote for this comment, please visit the site)</small></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Bedell</title>
		<link>http://www.kbedell.com/2009/03/07/how-to-mysql-example-showing-default-values-null-values-and-comments/comment-page-1/#comment-135</link>
		<dc:creator>Kevin Bedell</dc:creator>
		<pubDate>Tue, 11 Jan 2011 15:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.kbedell.com/?p=115#comment-135</guid>
		<description>The benefit of having NULL or NOT NULL values comes from allowing the database to enforce constraints on the data to match your application.

For example, if you have a CUSTOMER table that requires a particular &#039;customer_type&#039; attribute, you can make the &#039;customer_attribute&#039; column &#039;NOT NULL&#039; -- meaning the data cannot be saved into the database unless a value for that column is provided.

Sometimes, however, having a value be NULL is fine -- for example, if the same CUSTOMER table has both &#039;work_phone&#039; and &#039;home_phone&#039; columns. Maybe they aren&#039;t both required -- so those values can be allowed to be NULL.

I hope this answers your questions - thanks for reading!&lt;p class=&quot;top-comments&quot;&gt;Current score: &lt;span class=&quot;top-comments-karma&quot; id=&quot;karma-135&quot;&gt;0&lt;/span&gt; &lt;small&gt;(to vote for this comment, please visit the site)&lt;/small&gt;&lt;/p&gt;</description>
		<content:encoded><![CDATA[<div style="">
<p>The benefit of having NULL or NOT NULL values comes from allowing the database to enforce constraints on the data to match your application.</p>
<p>For example, if you have a CUSTOMER table that requires a particular &#8216;customer_type&#8217; attribute, you can make the &#8216;customer_attribute&#8217; column &#8216;NOT NULL&#8217; &#8212; meaning the data cannot be saved into the database unless a value for that column is provided.</p>
<p>Sometimes, however, having a value be NULL is fine &#8212; for example, if the same CUSTOMER table has both &#8216;work_phone&#8217; and &#8216;home_phone&#8217; columns. Maybe they aren&#8217;t both required &#8212; so those values can be allowed to be NULL.</p>
<p>I hope this answers your questions &#8211; thanks for reading!</p>
<p class="top-comments">Current score: <span class="top-comments-karma" id="karma-135">0</span> <small>(to vote for this comment, please visit the site)</small></p>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Praveena</title>
		<link>http://www.kbedell.com/2009/03/07/how-to-mysql-example-showing-default-values-null-values-and-comments/comment-page-1/#comment-134</link>
		<dc:creator>Praveena</dc:creator>
		<pubDate>Sun, 09 Jan 2011 14:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.kbedell.com/?p=115#comment-134</guid>
		<description>What are the benefits of using either NULL or NOT NULLs?
thanks&lt;p class=&quot;top-comments&quot;&gt;Current score: &lt;span class=&quot;top-comments-karma&quot; id=&quot;karma-134&quot;&gt;0&lt;/span&gt; &lt;small&gt;(to vote for this comment, please visit the site)&lt;/small&gt;&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>What are the benefits of using either NULL or NOT NULLs?<br />
thanks
<p class="top-comments">Current score: <span class="top-comments-karma" id="karma-134">0</span> <small>(to vote for this comment, please visit the site)</small></p>
]]></content:encoded>
	</item>
</channel>
</rss>

