<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Best Reason to Use CFQueryParam: Avoid Odd SQL Parsing by ColdFusion</title>
	<atom:link href="http://blog.crankybit.com/best-reason-to-use-cfqueryparam/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.crankybit.com/best-reason-to-use-cfqueryparam/</link>
	<description>Take a byte out of tech!</description>
	<lastBuildDate>Wed, 08 Feb 2012 15:54:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Gordon</title>
		<link>http://blog.crankybit.com/best-reason-to-use-cfqueryparam/#comment-121385</link>
		<dc:creator>Gordon</dc:creator>
		<pubDate>Sun, 25 Dec 2011 15:06:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/?p=314#comment-121385</guid>
		<description>You provide some very useful information. Thank you for sharing.</description>
		<content:encoded><![CDATA[<p>You provide some very useful information. Thank you for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pinched Nerve Symptoms</title>
		<link>http://blog.crankybit.com/best-reason-to-use-cfqueryparam/#comment-114524</link>
		<dc:creator>Pinched Nerve Symptoms</dc:creator>
		<pubDate>Sun, 30 Oct 2011 03:28:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/?p=314#comment-114524</guid>
		<description>Thanks for the help.  Now go get an ice pack for your head, haha :)</description>
		<content:encoded><![CDATA[<p>Thanks for the help.  Now go get an ice pack for your head, haha <img src='http://blog.crankybit.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hamlet</title>
		<link>http://blog.crankybit.com/best-reason-to-use-cfqueryparam/#comment-109265</link>
		<dc:creator>Hamlet</dc:creator>
		<pubDate>Thu, 15 Sep 2011 14:59:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/?p=314#comment-109265</guid>
		<description>Thanks for posting. We had the same problem - fixing it now.</description>
		<content:encoded><![CDATA[<p>Thanks for posting. We had the same problem &#8211; fixing it now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Parker</title>
		<link>http://blog.crankybit.com/best-reason-to-use-cfqueryparam/#comment-109213</link>
		<dc:creator>Parker</dc:creator>
		<pubDate>Wed, 14 Sep 2011 21:47:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/?p=314#comment-109213</guid>
		<description>Thank you for the tip! Very helpful!!</description>
		<content:encoded><![CDATA[<p>Thank you for the tip! Very helpful!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://blog.crankybit.com/best-reason-to-use-cfqueryparam/#comment-92389</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Wed, 18 May 2011 15:42:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/?p=314#comment-92389</guid>
		<description>It could be many things, but check to see if s/he is using any weird characters. For instance, sometimes when people type some content in Word and copy/paste it, all of the smart quotes and long dashes and so on get copied in, and sometimes your database or ODBC/JDBC connection won&#039;t like that. Just one thing to check.</description>
		<content:encoded><![CDATA[<p>It could be many things, but check to see if s/he is using any weird characters. For instance, sometimes when people type some content in Word and copy/paste it, all of the smart quotes and long dashes and so on get copied in, and sometimes your database or ODBC/JDBC connection won&#8217;t like that. Just one thing to check.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ted Daniels</title>
		<link>http://blog.crankybit.com/best-reason-to-use-cfqueryparam/#comment-92387</link>
		<dc:creator>Ted Daniels</dc:creator>
		<pubDate>Wed, 18 May 2011 15:32:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/?p=314#comment-92387</guid>
		<description>I thought this was my solution to a problem where the narrative report of all but one officers is stored correctly in the database, but most of the reports of that single officer just will not save (CF8/MSSQL). Tried the above solution, but still the same results, so still scratching my head!!Suggestions welcome, other than firing that one officer! Obviously I have to sit down with him to try to figure out what he is doing differently than the others.</description>
		<content:encoded><![CDATA[<p>I thought this was my solution to a problem where the narrative report of all but one officers is stored correctly in the database, but most of the reports of that single officer just will not save (CF8/MSSQL). Tried the above solution, but still the same results, so still scratching my head!!Suggestions welcome, other than firing that one officer! Obviously I have to sit down with him to try to figure out what he is doing differently than the others.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noahsarkive</title>
		<link>http://blog.crankybit.com/best-reason-to-use-cfqueryparam/#comment-89454</link>
		<dc:creator>Noahsarkive</dc:creator>
		<pubDate>Fri, 29 Apr 2011 20:27:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/?p=314#comment-89454</guid>
		<description>Me too! I used it in conjuction with PreserveSingleQuotes() as in </description>
		<content:encoded><![CDATA[<p>Me too! I used it in conjuction with PreserveSingleQuotes() as in</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sheila</title>
		<link>http://blog.crankybit.com/best-reason-to-use-cfqueryparam/#comment-87748</link>
		<dc:creator>Sheila</dc:creator>
		<pubDate>Thu, 21 Apr 2011 16:55:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/?p=314#comment-87748</guid>
		<description>You just solved my problem! I&#039;m using CF9. So this is still a problem.</description>
		<content:encoded><![CDATA[<p>You just solved my problem! I&#8217;m using CF9. So this is still a problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://blog.crankybit.com/best-reason-to-use-cfqueryparam/#comment-85794</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Mon, 11 Apr 2011 16:37:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/?p=314#comment-85794</guid>
		<description>Glad to hear it!! This can be a real tough one to figure out!</description>
		<content:encoded><![CDATA[<p>Glad to hear it!! This can be a real tough one to figure out!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: susan</title>
		<link>http://blog.crankybit.com/best-reason-to-use-cfqueryparam/#comment-85772</link>
		<dc:creator>susan</dc:creator>
		<pubDate>Mon, 11 Apr 2011 14:03:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/?p=314#comment-85772</guid>
		<description>forever in your debt for saving my Monday morning!</description>
		<content:encoded><![CDATA[<p>forever in your debt for saving my Monday morning!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sam</title>
		<link>http://blog.crankybit.com/best-reason-to-use-cfqueryparam/#comment-51188</link>
		<dc:creator>sam</dc:creator>
		<pubDate>Sat, 28 Aug 2010 10:46:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/?p=314#comment-51188</guid>
		<description>Thanks for the article ... i like the way you write (this is what ive got, this is the answer).  We we&#039;re having repeated trouble with our CMS when using basic punctuation, and more and more single quotes would be added each time the item was saved. Using cfqueryparam fixed it nicely, and now we have all our field matched to mysql input types. very good. as you were... :)</description>
		<content:encoded><![CDATA[<p>Thanks for the article &#8230; i like the way you write (this is what ive got, this is the answer).  We we&#8217;re having repeated trouble with our CMS when using basic punctuation, and more and more single quotes would be added each time the item was saved. Using cfqueryparam fixed it nicely, and now we have all our field matched to mysql input types. very good. as you were&#8230; <img src='http://blog.crankybit.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stewart</title>
		<link>http://blog.crankybit.com/best-reason-to-use-cfqueryparam/#comment-24492</link>
		<dc:creator>stewart</dc:creator>
		<pubDate>Mon, 12 Jan 2009 22:32:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/?p=314#comment-24492</guid>
		<description>We just saw this issue today after posting a new major revision and doing a import test, looks like someone forgot a cfqueryparam and it almost caused us to roll back the whole site.</description>
		<content:encoded><![CDATA[<p>We just saw this issue today after posting a new major revision and doing a import test, looks like someone forgot a cfqueryparam and it almost caused us to roll back the whole site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shakti</title>
		<link>http://blog.crankybit.com/best-reason-to-use-cfqueryparam/#comment-22544</link>
		<dc:creator>shakti</dc:creator>
		<pubDate>Fri, 31 Oct 2008 04:41:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/?p=314#comment-22544</guid>
		<description>thanks mate. had the same problem and kept looking in Cf administrator and sql permissions. added queryparam and worked straight away. i&#039;ll use it religiously from nw on. thanks again for the post..</description>
		<content:encoded><![CDATA[<p>thanks mate. had the same problem and kept looking in Cf administrator and sql permissions. added queryparam and worked straight away. i&#8217;ll use it religiously from nw on. thanks again for the post..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ike</title>
		<link>http://blog.crankybit.com/best-reason-to-use-cfqueryparam/#comment-22494</link>
		<dc:creator>ike</dc:creator>
		<pubDate>Wed, 29 Oct 2008 19:32:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/?p=314#comment-22494</guid>
		<description>Nice article. :) 

Something similar happens on the database side with MySQL. It turns out that MySQL uses the backslash as an escape character so having as an example, C:\some\directory in a string literal in an insert query will cause a similar problem at the database level. 

I believe there is a way to escape them, but why put yourself through the hassle of doing something extra when it&#039;s going to make your code less portable (i.e. MySQL-specific). 

You could instead use cfqueryparam and that will keep your code portable and take care of the escaping for you. 

Or just pick an ORM tool like DataFaucet that will put all the cfqueryparam tags in for you and make the application more portable at the same time.</description>
		<content:encoded><![CDATA[<p>Nice article. <img src='http://blog.crankybit.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>Something similar happens on the database side with MySQL. It turns out that MySQL uses the backslash as an escape character so having as an example, C:\some\directory in a string literal in an insert query will cause a similar problem at the database level. </p>
<p>I believe there is a way to escape them, but why put yourself through the hassle of doing something extra when it&#8217;s going to make your code less portable (i.e. MySQL-specific). </p>
<p>You could instead use cfqueryparam and that will keep your code portable and take care of the escaping for you. </p>
<p>Or just pick an ORM tool like DataFaucet that will put all the cfqueryparam tags in for you and make the application more portable at the same time.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

