<?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>chapter31 &#187; Databases</title>
	<atom:link href="http://www.chapter31.com/category/databases/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chapter31.com</link>
	<description>Rich Internet Application development</description>
	<lastBuildDate>Wed, 09 Jun 2010 03:46:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Development configuration tips for Ubuntu</title>
		<link>http://www.chapter31.com/2008/12/13/development-configuration-tips-for-ubuntu/</link>
		<comments>http://www.chapter31.com/2008/12/13/development-configuration-tips-for-ubuntu/#comments</comments>
		<pubDate>Sat, 13 Dec 2008 02:28:20 +0000</pubDate>
		<dc:creator>Michael Sharman</dc:creator>
				<category><![CDATA[Apache/IIS]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[cfeclipse]]></category>

		<guid isPermaLink="false">http://www.chapter31.com/?p=614</guid>
		<description><![CDATA[I just setup my machine at home with Ubuntu 8.10 (desktop) which was so easy think I saved hours off the time it would normally take with Windows. So much is already installed and ready to go and with apt (or the Synaptic package manager) it&#8217;s super quick to download and install extra things things [...]]]></description>
		<wfw:commentRss>http://www.chapter31.com/2008/12/13/development-configuration-tips-for-ubuntu/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Querying multiple databases within one cfquery</title>
		<link>http://www.chapter31.com/2008/12/03/querying-multiple-databases-within-one-cfquery/</link>
		<comments>http://www.chapter31.com/2008/12/03/querying-multiple-databases-within-one-cfquery/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 23:25:00 +0000</pubDate>
		<dc:creator>Michael Sharman</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Databases]]></category>

		<guid isPermaLink="false">http://www.chapter31.com/?p=515</guid>
		<description><![CDATA[In discussing a possible caching solution at work a suggestion was made to use a secondary database (on the same server) to store some key application data. It&#8217;s not really important to describe why we wanted to do this, suffice to say that my concern was if and when the application would need to perform [...]]]></description>
		<wfw:commentRss>http://www.chapter31.com/2008/12/03/querying-multiple-databases-within-one-cfquery/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>cfqueryparam does not work in ORDER BY, what are my options?</title>
		<link>http://www.chapter31.com/2008/11/22/cfqueryparam-does-not-work-in-order-by-what-are-my-options/</link>
		<comments>http://www.chapter31.com/2008/11/22/cfqueryparam-does-not-work-in-order-by-what-are-my-options/#comments</comments>
		<pubDate>Sat, 22 Nov 2008 02:15:50 +0000</pubDate>
		<dc:creator>Michael Sharman</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Databases]]></category>

		<guid isPermaLink="false">http://www.chapter31.com/?p=447</guid>
		<description><![CDATA[For those that don&#8217;t know, ColdFusion&#8217;s cfqueryparam won&#8217;t work on a SQL ORDER BY clause, so the following will not work:

&#60;cfquery name=&#34;qGetUsers&#34; datasource=&#34;mydsn&#34;&#62;
	SELECT	FirstName, LastName
	FROM		Users
	ORDER BY &#60;cfqueryparam cfsqltype=&#34;cf_sql_varchar&#34; value=&#34;#arguments.order#&#34; /&#62;
&#60;/cfquery&#62;

This is really nothing new, people have been talking about this for years but with the spate of recent SQL injection attacks (note that I meant to [...]]]></description>
		<wfw:commentRss>http://www.chapter31.com/2008/11/22/cfqueryparam-does-not-work-in-order-by-what-are-my-options/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Logging all MySQL queries on Mac OSX</title>
		<link>http://www.chapter31.com/2008/11/19/logging-all-mysql-queries-on-mac-osx/</link>
		<comments>http://www.chapter31.com/2008/11/19/logging-all-mysql-queries-on-mac-osx/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 23:19:48 +0000</pubDate>
		<dc:creator>Michael Sharman</dc:creator>
				<category><![CDATA[Databases]]></category>

		<guid isPermaLink="false">http://www.chapter31.com/?p=518</guid>
		<description><![CDATA[We&#8217;ve been doing some debugging of a 3rd party application recently where we had some possible performance concerns under a certain load and/or size of data in the database. What we wanted to know was exactly which queries (and how many) where hitting the database on a specific page request.
The simplest method was to turn [...]]]></description>
		<wfw:commentRss>http://www.chapter31.com/2008/11/19/logging-all-mysql-queries-on-mac-osx/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Fun with reserved words in MySQL 5</title>
		<link>http://www.chapter31.com/2008/10/27/fun-with-reserved-words-in-mysql-5/</link>
		<comments>http://www.chapter31.com/2008/10/27/fun-with-reserved-words-in-mysql-5/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 23:21:49 +0000</pubDate>
		<dc:creator>Michael Sharman</dc:creator>
				<category><![CDATA[Databases]]></category>

		<guid isPermaLink="false">http://www.chapter31.com/?p=476</guid>
		<description><![CDATA[Most tools or languages you work with have words which are &#8220;reserved&#8221;, meaning you cannot use them in a variable declaration or schema definition etc as they have special treatment in the underlying system. If you try to do this you&#8217;ll usually get an immediate error.
Today I needed to change an existing SQL query from [...]]]></description>
		<wfw:commentRss>http://www.chapter31.com/2008/10/27/fun-with-reserved-words-in-mysql-5/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Aqua Data Studio 7 includes an ER modeler</title>
		<link>http://www.chapter31.com/2008/10/22/aqua-data-studio-7-includes-an-er-modeler/</link>
		<comments>http://www.chapter31.com/2008/10/22/aqua-data-studio-7-includes-an-er-modeler/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 03:23:49 +0000</pubDate>
		<dc:creator>Michael Sharman</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.chapter31.com/?p=467</guid>
		<description><![CDATA[Those of you who miss diagramming support when using MySQL tools will be pleased to know that the latest version of Aqua Data Studio has support for ER Modeling  
The Entity-Relationship (ER) Modeler we’ve built into Aqua Data Studio 7 is as powerful as even the best standalone database diagramming tools. Use it to [...]]]></description>
		<wfw:commentRss>http://www.chapter31.com/2008/10/22/aqua-data-studio-7-includes-an-er-modeler/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>MySQL aliases (just like table names) are case sensitive on *nix</title>
		<link>http://www.chapter31.com/2008/08/22/mysql-alias-just-like-table-names-are-case-sensitive-on-nix/</link>
		<comments>http://www.chapter31.com/2008/08/22/mysql-alias-just-like-table-names-are-case-sensitive-on-nix/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 03:00:47 +0000</pubDate>
		<dc:creator>Michael Sharman</dc:creator>
				<category><![CDATA[Databases]]></category>

		<guid isPermaLink="false">http://www.chapter31.com/?p=377</guid>
		<description><![CDATA[As you might know when using MySQL on a case-sensitive OS (like Linux) you must reference your table names in a case sensitive manner. So if you have a table called products the following sample query will NOT work:

SELECT	productId
FROM	Products

It won&#8217;t work because MySQL stores the table information in directories on the file system, therefore these [...]]]></description>
		<wfw:commentRss>http://www.chapter31.com/2008/08/22/mysql-alias-just-like-table-names-are-case-sensitive-on-nix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>INSERT DELAYED with MySQL</title>
		<link>http://www.chapter31.com/2008/05/22/insert-delayed-with-mysql/</link>
		<comments>http://www.chapter31.com/2008/05/22/insert-delayed-with-mysql/#comments</comments>
		<pubDate>Thu, 22 May 2008 23:27:02 +0000</pubDate>
		<dc:creator>Michael Sharman</dc:creator>
				<category><![CDATA[Databases]]></category>

		<guid isPermaLink="false">http://www.chapter31.com/?p=235</guid>
		<description><![CDATA[Yet another tip for MySQL users, INSERT DELAYED. 
What does it do? Well when you execute your query MySQL will return an ok immediately to your application, and the request then gets queued to be INSERTED when the table in question is not being used by any other thread. This obviously means your application doesn&#8217;t [...]]]></description>
		<wfw:commentRss>http://www.chapter31.com/2008/05/22/insert-delayed-with-mysql/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>INSERT or UPDATE in one statement with MySQL &#8211; performance test</title>
		<link>http://www.chapter31.com/2008/04/24/insert-or-update-in-one-statement-with-mysql-performance-test/</link>
		<comments>http://www.chapter31.com/2008/04/24/insert-or-update-in-one-statement-with-mysql-performance-test/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 01:59:11 +0000</pubDate>
		<dc:creator>Michael Sharman</dc:creator>
				<category><![CDATA[Databases]]></category>

		<guid isPermaLink="false">http://www.chapter31.com/?p=228</guid>
		<description><![CDATA[Yesterday I posted on a handy MySQL feature where you can combine an INSERT and UPDATE on a record in the one statement.
Someone asked about the performance of this so I ran a little test to get some basic numbers.
One thing to note is that even when MySQL is actually UPDATING your record (ON DUPLICATE [...]]]></description>
		<wfw:commentRss>http://www.chapter31.com/2008/04/24/insert-or-update-in-one-statement-with-mysql-performance-test/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>INSERT or UPDATE in one statement with MySQL</title>
		<link>http://www.chapter31.com/2008/04/23/insert-or-update-in-one-statement-with-mysql/</link>
		<comments>http://www.chapter31.com/2008/04/23/insert-or-update-in-one-statement-with-mysql/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 02:09:18 +0000</pubDate>
		<dc:creator>Michael Sharman</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Databases]]></category>

		<guid isPermaLink="false">http://www.chapter31.com/?p=227</guid>
		<description><![CDATA[A little while ago I mentioned combining multiple INSERT statements with MySQL, here is another helpful approach to a common problem.
In many systems you will give the user a chance to ADD and EDIT a record, a News post for example. As usual there are many ways to handle writing any changes to the database, [...]]]></description>
		<wfw:commentRss>http://www.chapter31.com/2008/04/23/insert-or-update-in-one-statement-with-mysql/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
