                    <?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>Way&#039;s Blog &#187; SQL</title>
	<atom:link href="http://way.cubeforge.net/blog/category/sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://way.cubeforge.net/blog</link>
	<description>Hong Kong Adobe Flex Developer</description>
	<lastBuildDate>Fri, 06 Jan 2012 04:04:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Case Sensitive Query in MySQL</title>
		<link>http://way.cubeforge.net/blog/2009/08/case-sensitive-query-in-mysql/</link>
		<comments>http://way.cubeforge.net/blog/2009/08/case-sensitive-query-in-mysql/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 06:36:39 +0000</pubDate>
		<dc:creator>Way</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Other Technologies]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[binary]]></category>
		<category><![CDATA[case]]></category>
		<category><![CDATA[case-sensitive]]></category>
		<category><![CDATA[keyword]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[sensitive]]></category>

		<guid isPermaLink="false">http://way.cubeforge.net/blog/?p=507</guid>
		<description><![CDATA[The default return result of MySQL query is case insensitive, e.g. header label SELECT header FROM table WHERE header = "LABEL" Result: label If you want the result of the query to be case sensitive. You have to add keyword &#8220;BINARY&#8221; in front of the field name. SELECT header FROM table WHERE BINARY header = [...]]]></description>
			<content:encoded><![CDATA[<p>The default return result of MySQL query is case insensitive, e.g.</p>
<table border="1px solid"  style="width:100px;color: #000000;border-color:#FFFFFF;background-color: #BBBBBB">
<tbody>
<tr>
<th>header</th>
</tr>
<tr>
<td>label</td>
</tr>
</tbody>
</table>
<p><code>SELECT header FROM table WHERE header = "LABEL"</code></p>
<p>Result:</p>
<p><em>label</em></p>
<p>If you want the result of the query to be case sensitive. You have to add keyword &#8220;<strong>BINARY</strong>&#8221; in front of the field name.</p>
<p><code>SELECT header FROM table WHERE BINARY header = "LABEL"</code></p>
<p>Result:</p>
<p><em>null</em></p>
<p>References:</p>
<p><a href="http://emba.thu.edu.tw/chiayuan/wordpress/?p=549">http://emba.thu.edu.tw/chiayuan/wordpress/?p=549</a></p>
]]></content:encoded>
			<wfw:commentRss>http://way.cubeforge.net/blog/2009/08/case-sensitive-query-in-mysql/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

