<?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/"
	>

<channel>
	<title>rabidGadfly &#187; mySQL</title>
	<atom:link href="http://rabidgadfly.com/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://rabidgadfly.com</link>
	<description>Simple Solutions to Nagging Coding Problems</description>
	<lastBuildDate>Wed, 19 Oct 2011 13:43:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>How to View Bit Values in MySQL Query Browser</title>
		<link>http://rabidgadfly.com/2009/11/how-to-view-bit-values-in-mysql-query-browser/</link>
		<comments>http://rabidgadfly.com/2009/11/how-to-view-bit-values-in-mysql-query-browser/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 14:18:45 +0000</pubDate>
		<dc:creator>rabidgadfly</dc:creator>
				<category><![CDATA[mySQL]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.rabidgadfly.com/?p=123</guid>
		<description><![CDATA[I stumbled across this useful tidbit the other day in the MySQL Forums. I&#8217;ve always been frustrated that bit data type values fail to appear in MySQL Query Browser. Instead, it simply displays a &#8216;b&#8217; regardless of the actual value. I looked through all of the options but couldn&#8217;t find a setting related to the [...]]]></description>
			<content:encoded><![CDATA[<p>I stumbled across this useful tidbit the other day in the MySQL Forums. I&#8217;ve always been frustrated that bit data type values fail to appear in MySQL Query Browser. Instead, it simply displays a &#8216;b&#8217; regardless of the actual value.</p>
<p>I looked through all of the options but couldn&#8217;t find a setting related to the issue. The solution (workaround) turned out to be very easy. Just add 0 to the column in the SELECT list and the values will appear.</p>
<p>For example:</p>
<pre class="brush: sql; title: ; notranslate">
SELECT myBooleanColumn + 0 as myBooleanColumn
FROM myTable
</pre>
<p>Either a 1 or a 0 will now appear as the value in the results.</p>
]]></content:encoded>
			<wfw:commentRss>http://rabidgadfly.com/2009/11/how-to-view-bit-values-in-mysql-query-browser/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

