<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	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>mateo's musings &#187; MySQL</title>
	<atom:link href="http://mattmetzger.wordpress.com/category/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://mattmetzger.wordpress.com</link>
	<description>people use the word "musings" waaay too much</description>
	<lastBuildDate>Wed, 04 Feb 2009 03:21:05 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='mattmetzger.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/a39bede40ea0f15863b0d04cf3374a07?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>mateo's musings &#187; MySQL</title>
		<link>http://mattmetzger.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mattmetzger.wordpress.com/osd.xml" title="mateo&#8217;s musings" />
		<item>
		<title>Change (null) to 0</title>
		<link>http://mattmetzger.wordpress.com/2008/07/17/change-null-to-0/</link>
		<comments>http://mattmetzger.wordpress.com/2008/07/17/change-null-to-0/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 17:09:25 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[null]]></category>

		<guid isPermaLink="false">http://mattmetzger.wordpress.com/?p=121</guid>
		<description><![CDATA[I was googling and  looking through forums trying to find how to set a (null) field to be 0 in MySQL, and for some reason had a really hard time finding it (maybe it&#8217;s just too basic for most people).  In any case, i&#8217;m posting the (very simple) solution here in case I need to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mattmetzger.wordpress.com&blog=2988797&post=121&subd=mattmetzger&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I was googling and  looking through forums trying to find how to set a (null) field to be 0 in MySQL, and for some reason had a really hard time finding it (maybe it&#8217;s just too basic for most people).  In any case, i&#8217;m posting the (very simple) solution here in case I need to find it again quickly, and in case it can help someone else.</p>
<p>UPDATE `TableName` SET `FieldName` = 0 WHERE `FieldName` IS NULL;</p>
<p>That&#8217;s all folks!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mattmetzger.wordpress.com/121/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mattmetzger.wordpress.com/121/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mattmetzger.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mattmetzger.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mattmetzger.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mattmetzger.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mattmetzger.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mattmetzger.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mattmetzger.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mattmetzger.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mattmetzger.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mattmetzger.wordpress.com/121/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mattmetzger.wordpress.com&blog=2988797&post=121&subd=mattmetzger&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mattmetzger.wordpress.com/2008/07/17/change-null-to-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a3692980c59e9a1f2693c1d78c88ebd1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">matt</media:title>
		</media:content>
	</item>
	</channel>
</rss>