<?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>Microshell &#187; MySQL</title>
	<atom:link href="http://www.microshell.com/browse/database/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.microshell.com</link>
	<description>Learn something share something</description>
	<lastBuildDate>Sun, 09 May 2010 03:04:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Swap values in 2 rows SQL</title>
		<link>http://www.microshell.com/database/sql/swap-values-in-2-rows-sql/</link>
		<comments>http://www.microshell.com/database/sql/swap-values-in-2-rows-sql/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 19:31:20 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[General SQL]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PostgreSQL]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=1990</guid>
		<description><![CDATA[I encountered a situation at work that I feel would be a good brain teaser. I was working on a project and needed a way to swap values from 2 different rows in a SQL table. Obviously I can do it on client side (like PHP) to do it; but that wouldn&#8217;t be a good [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/database/sql/swap-values-in-2-rows-sql/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Bulk alter schema in MySQL.</title>
		<link>http://www.microshell.com/database/mysql/bulk-alter-schema-in-mysql/</link>
		<comments>http://www.microshell.com/database/mysql/bulk-alter-schema-in-mysql/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 00:47:21 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=1195</guid>
		<description><![CDATA[There are times when you want to alter schema for all tables in the database. For example, let&#8217;s say in your project you have multiple databases with multiple tables on each of them. Suppose that you have columns within that table defined as DECIMAL(11,6). What it means is that the column will have 11 digits [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/database/mysql/bulk-alter-schema-in-mysql/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Getting around MySQL TIMEDIFF() for hours greater than 838</title>
		<link>http://www.microshell.com/database/mysql/getting-around-mysql-timediff-maximum-value-of-8385959/</link>
		<comments>http://www.microshell.com/database/mysql/getting-around-mysql-timediff-maximum-value-of-8385959/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 21:35:16 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=1015</guid>
		<description><![CDATA[One of the golden rule of programming is to know about the function you are calling. You need to know what parameters it takes and what return values and type it gives back. For the most part, it&#8217;s not too hard to find that out. For MySQL, however, I found that it&#8217;s not always easy [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/database/mysql/getting-around-mysql-timediff-maximum-value-of-8385959/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Comparing data from 2 database tables</title>
		<link>http://www.microshell.com/database/sql/comparing-data-from-2-database-tables/</link>
		<comments>http://www.microshell.com/database/sql/comparing-data-from-2-database-tables/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 10:41:32 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[General SQL]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PostgreSQL]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=950</guid>
		<description><![CDATA[During development cycle, I often come to a case where I need to compare two tables whether they are the same or not. For example, if you already have a running script that outputs to a database table in production that was written sub-optimally and you need to improve it. You want to make sure [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/database/sql/comparing-data-from-2-database-tables/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Emulating nextval() function to get sequence in MySQL</title>
		<link>http://www.microshell.com/database/mysql/emulating-nextval-function-to-get-sequence-in-mysql/</link>
		<comments>http://www.microshell.com/database/mysql/emulating-nextval-function-to-get-sequence-in-mysql/#comments</comments>
		<pubDate>Sun, 08 Feb 2009 23:08:52 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=777</guid>
		<description><![CDATA[There are times when auto increment is not sufficient. And there are times when what you need is actually a sequence. Unfortunately MySQL doesn&#8217;t have support for sequence. Having been working on PostgreSQL database as well, I found that it&#8217;s nextval() function is pretty nice. So in this article, I&#8217;d like to emulate (or implement) [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/database/mysql/emulating-nextval-function-to-get-sequence-in-mysql/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>MySQL : Too many connection errors.</title>
		<link>http://www.microshell.com/database/mysql/mysql-too-many-connection-errors/</link>
		<comments>http://www.microshell.com/database/mysql/mysql-too-many-connection-errors/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 08:50:40 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=430</guid>
		<description><![CDATA[I was trying to connect to a MySQL server at work and I got connection fail  &#8220;Too many connections&#8221;. Here&#8217;s the screen shot that I took using Navicat Lite client and Sequel Pro.


I did Googling a bit and I found that most common problem is because MySQL has too many open client being connected [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/database/mysql/mysql-too-many-connection-errors/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Querying database structure.</title>
		<link>http://www.microshell.com/database/mysql/querying-database-structure/</link>
		<comments>http://www.microshell.com/database/mysql/querying-database-structure/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 07:27:37 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=343</guid>
		<description><![CDATA[There are times when we want to query a database structure for a particular table name. Or you want to find which tables a particular column name is defined. Or in my case, I wanted to find all tables that has column A and column B defined &#8230; how do I do it?
If you are [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/database/mysql/querying-database-structure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Error Code 150</title>
		<link>http://www.microshell.com/database/mysql/mysql-error-code-150/</link>
		<comments>http://www.microshell.com/database/mysql/mysql-error-code-150/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 03:02:02 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=146</guid>
		<description><![CDATA[Error can&#8217;t create table &#8230;
I was trying to add new table and alter another table to add new column and foreign key to the new table. Here&#8217;s basically what I had

CREATE TABLE `chapters` (
   `chapter_id` int(10) unsigned NOT NULL auto_increment,
   `chapter_title` varchar(255) NOT NULL,
   PRIMARY KEY (`chapter_id`)
);

ALTER TABLE `articles`
 [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/database/mysql/mysql-error-code-150/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
