<?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 SQL_MODE is important</title>
	<atom:link href="http://ronaldbradford.com/blog/why-sql_mode-is-important-2011-06-01/feed/" rel="self" type="application/rss+xml" />
	<link>http://ronaldbradford.com/blog/why-sql_mode-is-important-2011-06-01/</link>
	<description>Expert times and information on MySQL</description>
	<lastBuildDate>Thu, 09 May 2013 15:50:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Why SQL_MODE is essential if still ineffective &#171; MySQL Expert &#124; MySQL Performance &#124; MySQL Consulting</title>
		<link>http://ronaldbradford.com/blog/why-sql_mode-is-important-2011-06-01/comment-page-1/#comment-14047</link>
		<dc:creator>Why SQL_MODE is essential if still ineffective &#171; MySQL Expert &#124; MySQL Performance &#124; MySQL Consulting</dc:creator>
		<pubDate>Thu, 16 Feb 2012 19:00:53 +0000</pubDate>
		<guid isPermaLink="false">http://ronaldbradford.com/blog/?p=3705#comment-14047</guid>
		<description>[...] Why SQL_MODE is important [...]</description>
		<content:encoded><![CDATA[<p>[...] Why SQL_MODE is important [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henrik Ingo</title>
		<link>http://ronaldbradford.com/blog/why-sql_mode-is-important-2011-06-01/comment-page-1/#comment-12518</link>
		<dc:creator>Henrik Ingo</dc:creator>
		<pubDate>Mon, 06 Jun 2011 05:32:55 +0000</pubDate>
		<guid isPermaLink="false">http://ronaldbradford.com/blog/?p=3705#comment-12518</guid>
		<description>Ronald, I think you are mixing two concepts here: data type and constraints. In your example it just happens that zero was the minimum value for the data range being stored. So using unsigned as data type also works as a constraint. But that&#039;s not the case in general - for instance what if your minimum value would have been one (1)?</description>
		<content:encoded><![CDATA[<p>Ronald, I think you are mixing two concepts here: data type and constraints. In your example it just happens that zero was the minimum value for the data range being stored. So using unsigned as data type also works as a constraint. But that&#8217;s not the case in general &#8211; for instance what if your minimum value would have been one (1)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ovais Tariq</title>
		<link>http://ronaldbradford.com/blog/why-sql_mode-is-important-2011-06-01/comment-page-1/#comment-12510</link>
		<dc:creator>Ovais Tariq</dc:creator>
		<pubDate>Fri, 03 Jun 2011 11:06:45 +0000</pubDate>
		<guid isPermaLink="false">http://ronaldbradford.com/blog/?p=3705#comment-12510</guid>
		<description>Hi Ronald,

I completely agree with you over the use of the SQL MODE, traditionally MySQL has been very forgiving and that stems from the fact that traditionally MyISAM (which is a non-transactional storage engine) is the default storage engine that is being used., and with MyISAM if a multi-row insert or update causes an error and you are using the strict SQL MODE then partial updates/inserts can happen if the error happens after the first row. Because MyISAM is not a transactional storage engine and there is no way it can rollback the updates/inserts. And it seemed better to avoid partial updates.

So my recommendation is use InnoDB together with a strict SQL MODE, so that if there is any error that is encountered, then the changes can be rolled back and hence no partial update issue.</description>
		<content:encoded><![CDATA[<p>Hi Ronald,</p>
<p>I completely agree with you over the use of the SQL MODE, traditionally MySQL has been very forgiving and that stems from the fact that traditionally MyISAM (which is a non-transactional storage engine) is the default storage engine that is being used., and with MyISAM if a multi-row insert or update causes an error and you are using the strict SQL MODE then partial updates/inserts can happen if the error happens after the first row. Because MyISAM is not a transactional storage engine and there is no way it can rollback the updates/inserts. And it seemed better to avoid partial updates.</p>
<p>So my recommendation is use InnoDB together with a strict SQL MODE, so that if there is any error that is encountered, then the changes can be rolled back and hence no partial update issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Silvia</title>
		<link>http://ronaldbradford.com/blog/why-sql_mode-is-important-2011-06-01/comment-page-1/#comment-12503</link>
		<dc:creator>Silvia</dc:creator>
		<pubDate>Thu, 02 Jun 2011 12:27:20 +0000</pubDate>
		<guid isPermaLink="false">http://ronaldbradford.com/blog/?p=3705#comment-12503</guid>
		<description>It&#039;s like the default MyISAM engine issue (until very recently). This is why using the out of the box configuration is never a good idea.</description>
		<content:encoded><![CDATA[<p>It&#8217;s like the default MyISAM engine issue (until very recently). This is why using the out of the box configuration is never a good idea.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shlomi Noach</title>
		<link>http://ronaldbradford.com/blog/why-sql_mode-is-important-2011-06-01/comment-page-1/#comment-12502</link>
		<dc:creator>Shlomi Noach</dc:creator>
		<pubDate>Thu, 02 Jun 2011 05:01:51 +0000</pubDate>
		<guid isPermaLink="false">http://ronaldbradford.com/blog/?p=3705#comment-12502</guid>
		<description>@Brian,
Does that mean UNSIGNED only has half as much possible values? (Having limited a SIGNED integer?)</description>
		<content:encoded><![CDATA[<p>@Brian,<br />
Does that mean UNSIGNED only has half as much possible values? (Having limited a SIGNED integer?)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Aker</title>
		<link>http://ronaldbradford.com/blog/why-sql_mode-is-important-2011-06-01/comment-page-1/#comment-12500</link>
		<dc:creator>Brian Aker</dc:creator>
		<pubDate>Thu, 02 Jun 2011 02:44:58 +0000</pubDate>
		<guid isPermaLink="false">http://ronaldbradford.com/blog/?p=3705#comment-12500</guid>
		<description>Hi!

Drizzle does have UNSIGNED. We added it back in the beginning of the year so that we could gain some compatibility that we needed in a couple of places.

We treat it has a constraint though, not as a type (which is somewhat hairsplitting, but it is useful to know).

Cheers,
  -Brian</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>Drizzle does have UNSIGNED. We added it back in the beginning of the year so that we could gain some compatibility that we needed in a couple of places.</p>
<p>We treat it has a constraint though, not as a type (which is somewhat hairsplitting, but it is useful to know).</p>
<p>Cheers,<br />
  -Brian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronald Bradford &#8211; 42SQL: Why SQL_MODE is important &#124; Weez.com</title>
		<link>http://ronaldbradford.com/blog/why-sql_mode-is-important-2011-06-01/comment-page-1/#comment-12498</link>
		<dc:creator>Ronald Bradford &#8211; 42SQL: Why SQL_MODE is important &#124; Weez.com</dc:creator>
		<pubDate>Wed, 01 Jun 2011 20:07:58 +0000</pubDate>
		<guid isPermaLink="false">http://ronaldbradford.com/blog/?p=3705#comment-12498</guid>
		<description>[...] View full post on Planet Drizzle [...]</description>
		<content:encoded><![CDATA[<p>[...] View full post on Planet Drizzle [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
