<?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>Thu, 27 Oct 2011 07:00:45 +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>MySQL alternative to MSSQL&#8217;s isNull()</title>
		<link>http://www.chapter31.com/2011/03/03/mysql-alternative-to-mssqls-isnull/</link>
		<comments>http://www.chapter31.com/2011/03/03/mysql-alternative-to-mssqls-isnull/#comments</comments>
		<pubDate>Thu, 03 Mar 2011 23:22:53 +0000</pubDate>
		<dc:creator>Michael Sharman</dc:creator>
				<category><![CDATA[Databases]]></category>

		<guid isPermaLink="false">http://www.chapter31.com/?p=892</guid>
		<description><![CDATA[I was looking for a way to do isNull() in MySQL the other day, for those that don&#8217;t know this means you can do something like: If the value in mycolumn is NULL, then &#8216;blah&#8217; is returned, this can of course be any string literal/numeric value you want. MySQL doesn&#8217;t have isNull() but it does [...]]]></description>
		<wfw:commentRss>http://www.chapter31.com/2011/03/03/mysql-alternative-to-mssqls-isnull/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SQL for finding duplicate values</title>
		<link>http://www.chapter31.com/2011/02/08/sql-for-finding-duplicate-values/</link>
		<comments>http://www.chapter31.com/2011/02/08/sql-for-finding-duplicate-values/#comments</comments>
		<pubDate>Tue, 08 Feb 2011 06:47:18 +0000</pubDate>
		<dc:creator>Michael Sharman</dc:creator>
				<category><![CDATA[Databases]]></category>

		<guid isPermaLink="false">http://www.chapter31.com/?p=883</guid>
		<description><![CDATA[Quick post to remind me how to check a table column for duplicate values next time I&#8217;m looking for it (when my memory fails!)]]></description>
		<wfw:commentRss>http://www.chapter31.com/2011/02/08/sql-for-finding-duplicate-values/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Importing a csv into MySQL using the command line</title>
		<link>http://www.chapter31.com/2010/11/14/importing-a-csv-into-mysql-using-the-command-line/</link>
		<comments>http://www.chapter31.com/2010/11/14/importing-a-csv-into-mysql-using-the-command-line/#comments</comments>
		<pubDate>Sun, 14 Nov 2010 23:38:10 +0000</pubDate>
		<dc:creator>Michael Sharman</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://www.chapter31.com/?p=863</guid>
		<description><![CDATA[UPDATE 16th Nov 2010: I had some issues with the import which I noted in the first code example below Today I had to import csv into a single mysql table. The destination table only had 5 columns and the csv was around 22MB (around 400,000 records). The csv also contained more columns that I [...]]]></description>
		<wfw:commentRss>http://www.chapter31.com/2010/11/14/importing-a-csv-into-mysql-using-the-command-line/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Case sensitive development on Mac OS X</title>
		<link>http://www.chapter31.com/2010/10/04/case-sensitive-development-on-mac-os-x/</link>
		<comments>http://www.chapter31.com/2010/10/04/case-sensitive-development-on-mac-os-x/#comments</comments>
		<pubDate>Mon, 04 Oct 2010 22:36:56 +0000</pubDate>
		<dc:creator>Michael Sharman</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://www.chapter31.com/?p=854</guid>
		<description><![CDATA[At work most of the developers are on Mac OS X but our staging and production environments are Linux based. This means development is case insensitive but stage/production is case sensitive. Although we have development guidelines/standards which dictate file and database naming conventions etc, human error can still occur (in terms of referencing files with [...]]]></description>
		<wfw:commentRss>http://www.chapter31.com/2010/10/04/case-sensitive-development-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Tip when adding &#8220;allowMultiQueries=true&#8221; to your MySQL DSN in ColdFusion</title>
		<link>http://www.chapter31.com/2010/09/08/tip-when-adding-allowmultiqueriestrue-to-your-mysql-dsn-in-coldfusion/</link>
		<comments>http://www.chapter31.com/2010/09/08/tip-when-adding-allowmultiqueriestrue-to-your-mysql-dsn-in-coldfusion/#comments</comments>
		<pubDate>Wed, 08 Sep 2010 22:47:46 +0000</pubDate>
		<dc:creator>Michael Sharman</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Databases]]></category>

		<guid isPermaLink="false">http://www.chapter31.com/?p=842</guid>
		<description><![CDATA[Scenario&#8230;I&#8217;m using ColdFusion 9 and MySQL 5. I already had my DSN setup but had a requirement to get the last inserted id from a MySQL INSERT statement (I&#8217;m using auto-incrementing integer&#8217;s). As most people know, the best way to do this (in MySQL) is using the last_insert_id() function. I wanted to attach this to [...]]]></description>
		<wfw:commentRss>http://www.chapter31.com/2010/09/08/tip-when-adding-allowmultiqueriestrue-to-your-mysql-dsn-in-coldfusion/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<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[cfeclipse]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Ubuntu]]></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: 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 publish this around sept 08 but got [...]]]></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 [...]]]></description>
		<wfw:commentRss>http://www.chapter31.com/2008/11/19/logging-all-mysql-queries-on-mac-osx/feed/</wfw:commentRss>
		<slash:comments>4</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 [...]]]></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>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: chapter31.nfshost.com @ 2012-02-09 07:14:38 -->
