<?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>Stump of a Muffin &#187; MySQL Tools</title>
	<atom:link href="http://muffinstump.ca/category/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://muffinstump.ca</link>
	<description>A Resource for Very Little</description>
	<lastBuildDate>Thu, 03 May 2012 19:36:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>MySQL CASE for 4.0</title>
		<link>http://muffinstump.ca/2011/03/mysql-case-for-4-0/</link>
		<comments>http://muffinstump.ca/2011/03/mysql-case-for-4-0/#comments</comments>
		<pubDate>Thu, 17 Mar 2011 20:59:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL Tools]]></category>

		<guid isPermaLink="false">http://muffinstump.ca/?p=345</guid>
		<description><![CDATA[SELECT `r_mls_number` ,`r_address` ,`r_city` ,`r_area` ,`r_sub_area_community` ,`r_sub_area_community_desc` ,`r_list_price` ,`r_sold_price` ,`r_orig_price` ,`r_type_of_dwelling` ,`r_status` ,`r_list_date` ,`r_sold_date` ,`r_total_bedrooms` ,`r_total_baths` ,`r_floor_area_total_finished` ,`r_floor_area_unfinished` ,`r_last_trans_date` ,`r_street_name` ,`r_street` , `r_record_delete_flag` ,  CASE   WHEN r_street_dir = &#8216;Northwest&#8217; THEN &#8216;NW&#8217; WHEN r_street_dir = &#8216;Northeast&#8217; THEN &#8216;NE&#8217; WHEN r_street_dir = &#8216;Southwest&#8217; THEN &#8216;SW&#8217; WHEN r_street_dir = &#8216;Southeast&#8217; THEN &#8216;SE&#8217; ELSE &#8221; END  AS street_dir , r_street_typeFROM rea WHERE [...]]]></description>
			<content:encoded><![CDATA[<p>SELECT `r_mls_number` ,`r_address` ,`r_city` ,`r_area` ,`r_sub_area_community` ,`r_sub_area_community_desc` ,`r_list_price` ,`r_sold_price` ,`r_orig_price` ,`r_type_of_dwelling` ,`r_status` ,`r_list_date` ,`r_sold_date` ,`r_total_bedrooms` ,`r_total_baths` ,`r_floor_area_total_finished` ,`r_floor_area_unfinished` ,`r_last_trans_date` ,`r_street_name` ,`r_street` , `r_record_delete_flag` , 		CASE	 			WHEN r_street_dir = &#8216;Northwest&#8217; THEN &#8216;NW&#8217;			WHEN r_street_dir = &#8216;Northeast&#8217; THEN &#8216;NE&#8217;			WHEN r_street_dir = &#8216;Southwest&#8217; THEN &#8216;SW&#8217;			WHEN r_street_dir = &#8216;Southeast&#8217; THEN &#8216;SE&#8217;			ELSE &#8221;		END 	AS street_dir , r_street_typeFROM rea WHERE r_last_trans_date &gt;= DATE_SUB( CURDATE( ) , INTERVAL 1 DAY )</p>
]]></content:encoded>
			<wfw:commentRss>http://muffinstump.ca/2011/03/mysql-case-for-4-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coffee</title>
		<link>http://muffinstump.ca/2011/01/coffee/</link>
		<comments>http://muffinstump.ca/2011/01/coffee/#comments</comments>
		<pubDate>Sat, 29 Jan 2011 19:28:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL Tools]]></category>

		<guid isPermaLink="false">http://muffinstump.ca/?p=251</guid>
		<description><![CDATA[Day 8 without coffee.  Sigh.]]></description>
			<content:encoded><![CDATA[<p>Day 8 without coffee.  Sigh.</p>
]]></content:encoded>
			<wfw:commentRss>http://muffinstump.ca/2011/01/coffee/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Idiot Savant</title>
		<link>http://muffinstump.ca/2010/10/idiot-savant/</link>
		<comments>http://muffinstump.ca/2010/10/idiot-savant/#comments</comments>
		<pubDate>Fri, 08 Oct 2010 19:39:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL Tools]]></category>

		<guid isPermaLink="false">http://muffinstump.ca/?p=218</guid>
		<description><![CDATA[He&#8217;s one of those idiot savants, but not the savant part. &#8211; who by]]></description>
			<content:encoded><![CDATA[<blockquote><p>He&#8217;s one of those idiot savants, but not the savant part.</p>
</blockquote>
<p>&#8211; who by</p>
]]></content:encoded>
			<wfw:commentRss>http://muffinstump.ca/2010/10/idiot-savant/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL &#8211; LEFT</title>
		<link>http://muffinstump.ca/2010/01/mysql-left/</link>
		<comments>http://muffinstump.ca/2010/01/mysql-left/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 02:20:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL Tools]]></category>
		<category><![CDATA[left]]></category>
		<category><![CDATA[trim]]></category>

		<guid isPermaLink="false">http://muffinstump.ca/?p=125</guid>
		<description><![CDATA[I needed a way to trim the three left side characters.  I&#8217;ll save you the long boring story about why &#8211; here&#8217;s the how: SELECT LEFT( price , CHAR_LENGTH(  price ) -3  ) AS price FROM products This gave me 150 instead of 150000.]]></description>
			<content:encoded><![CDATA[<p>I needed a way to trim the three left side characters.  I&#8217;ll save you the long boring story about why &#8211; here&#8217;s the how:</p>
<blockquote><p>SELECT</p>
<p>LEFT( price , CHAR_LENGTH(  price ) -3  )<br />
AS price</p>
<p>FROM products</p></blockquote>
<p>This gave me 150 instead of 150000.</p>
]]></content:encoded>
			<wfw:commentRss>http://muffinstump.ca/2010/01/mysql-left/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Holiday Rumble</title>
		<link>http://muffinstump.ca/2009/12/holiday-rumble/</link>
		<comments>http://muffinstump.ca/2009/12/holiday-rumble/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 16:00:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL Tools]]></category>

		<guid isPermaLink="false">http://muffinstump.ca/?p=87</guid>
		<description><![CDATA[How about if Rupert Grint took on Alfred E. Newman?]]></description>
			<content:encoded><![CDATA[<p>How about if Rupert Grint took on Alfred E. Newman?</p>
<div id="attachment_91" class="wp-caption alignleft" style="width: 142px"><img class="size-full wp-image-91" title="Alfred E Neuman" src="http://muffinstump.ca/wp-content/uploads/2009/12/Alfred_E_Neuman.jpg" alt="Alfred E Neuman" width="132" height="94" /><p class="wp-caption-text">Alfred E Neuman</p></div>
<p><div id="attachment_90" class="wp-caption alignright" style="width: 142px"><img class="size-full wp-image-90" title="Rupert Grint" src="http://muffinstump.ca/wp-content/uploads/2009/12/rupert_grint.jpeg" alt="Rupert Grint" width="132" height="94" /><p class="wp-caption-text">Rupert Grint</p></div></nobr></p>
]]></content:encoded>
			<wfw:commentRss>http://muffinstump.ca/2009/12/holiday-rumble/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TRIM and MySQL</title>
		<link>http://muffinstump.ca/2009/12/trim-and-mysql/</link>
		<comments>http://muffinstump.ca/2009/12/trim-and-mysql/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 15:45:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL Tools]]></category>

		<guid isPermaLink="false">http://muffinstump.ca/?p=80</guid>
		<description><![CDATA[Working on a wireless iPhone application right now.  With such limited &#8216;real estate&#8217; for viewing on wireless devices I&#8217;ve decided to trim off the 3 zeros. I want $575,000 to show as 575.  At first I didn&#8217;t think this would be a big deal.  PHP has the nifty little substr() function and I was pretty [...]]]></description>
			<content:encoded><![CDATA[<p>Working on a wireless iPhone application right now.  With such limited &#8216;real estate&#8217; for viewing on wireless devices I&#8217;ve decided to trim off the 3 zeros.</p>
<p>I want $575,000 to show as 575.  At first I didn&#8217;t think this would be a big deal.  PHP has the nifty little substr() function and I was pretty sure MySQL did as well.</p>
<p>PHP:  substr( @string , 0 , -3 )</p>
<p>MySQL:  SELECT LEFT( @string , CHAR_LENGTH( @string ) &#8211; 3 )</p>
]]></content:encoded>
			<wfw:commentRss>http://muffinstump.ca/2009/12/trim-and-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

