<?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>technoratica &#187; optimization</title>
	<atom:link href="http://gavin.mclelland.ca/tag/optimization/feed/" rel="self" type="application/rss+xml" />
	<link>http://gavin.mclelland.ca</link>
	<description>The personal blog of a Stealth Mode CEO</description>
	<lastBuildDate>Thu, 10 Dec 2009 19:55:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>ColdFusion Data Type Mappings to MySQL Data Type(s)</title>
		<link>http://gavin.mclelland.ca/2008/06/13/26/</link>
		<comments>http://gavin.mclelland.ca/2008/06/13/26/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 18:58:16 +0000</pubDate>
		<dc:creator>gavin.mclelland</dc:creator>
				<category><![CDATA[CFML]]></category>
		<category><![CDATA[wii]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://gavin.mclelland.ca/?p=26</guid>
		<description><![CDATA[To secure your CFML it is recommended that you use the cfqueryparam tag within every cfquery tag. You can optimize this process by specifying the CFSQLType attribute. But what about when you want to use a MySQL Database? The LiveDocs cfqueryparam topic does not include the mapping of ColdFusion SQL data types for MySQL in [...]]]></description>
			<content:encoded><![CDATA[<p>To secure your CFML it is recommended that you use the cfqueryparam tag within every cfquery tag. You can optimize this process by specifying the CFSQLType attribute. But what about when you want to use a MySQL Database?</p>
<p>The LiveDocs <a href="http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_p-q_18.html">cfqueryparam topic</a> does not include the mapping of ColdFusion SQL data types for MySQL in the usage table, but a helpful comment attached to the doc gives some insight.</p>
<p><code><strong>ColdFusion Data Type Mappings to MySQL Data Type(s):</strong></code></p>
<p><code><strong></strong>CF_SQL_BIGINT | bigint<br />
CF_SQL_BINARY | binary<br />
CF_SQL_BIT | bit (MySQL 5)<br />
CF_SQL_BLOB | blob, tinyblob, mediumblob<br />
CF_SQL_CJAR | char<br />
CF_SQL_DATE | date<br />
CF_SQL_DECIMAL | decimal<br />
CF_SQL_DOUBLE | double<br />
CF_SQL_FLOAT | float<br />
CF_SQL_INTEGER | mediumint, int<br />
CF_SQL_REAL | real<br />
CF_SQL_SMALLINT | smallint<br />
CF_SQL_TIME | time<br />
CF_SQL_TIMESTAMP | datetime, timestamp<br />
CF_SQL_TINYINT | tinyint<br />
CF_SQL_VARBINARY | varbinary<br />
CF_SQL_VARCHAR | varchar, text, longtext, mediumtext</code></p>
]]></content:encoded>
			<wfw:commentRss>http://gavin.mclelland.ca/2008/06/13/26/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
