<?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: Using cfqueryparam list attribute when using &#8216;IN&#8217; operator</title>
	<atom:link href="http://www.pukkared.com/2011/01/using-cfqueryparam-list-attribute-when-using-in-operator/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pukkared.com/2011/01/using-cfqueryparam-list-attribute-when-using-in-operator/</link>
	<description>Web Design &#38; Development</description>
	<lastBuildDate>Wed, 10 Apr 2013 08:49:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
	<item>
		<title>By: Acker Apple</title>
		<link>http://www.pukkared.com/2011/01/using-cfqueryparam-list-attribute-when-using-in-operator/comment-page-1/#comment-2436</link>
		<dc:creator>Acker Apple</dc:creator>
		<pubDate>Tue, 17 Jan 2012 21:14:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.pukkared.com/?p=1427#comment-2436</guid>
		<description>sorry guys, this post won&#039;t allow HTML code</description>
		<content:encoded><![CDATA[<p>sorry guys, this post won&#8217;t allow HTML code</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Acker Apple</title>
		<link>http://www.pukkared.com/2011/01/using-cfqueryparam-list-attribute-when-using-in-operator/comment-page-1/#comment-2435</link>
		<dc:creator>Acker Apple</dc:creator>
		<pubDate>Tue, 17 Jan 2012 21:13:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.pukkared.com/?p=1427#comment-2435</guid>
		<description>I have found that I no longer like to use the list attribute for cfqueryparam as ColdFusion just creates a binded parameter per deliminated value. This causes a new execution plan to be created per number of listed items (one time a list has 6 attributes and another time only 2, this results in two execution plans in MS SQL).

As of today, I send a list in as only one single cfqueryparam with list=”no” but I wrap the value sent in using a dbo.listToRows() function.

Example:
SELECT *
FROM Table-Name
WHERE column-name in (select * from dbo.rowsToList(,&#039;,&#039;))

--rowsToList is a SQL UDF that returns only one column of rows</description>
		<content:encoded><![CDATA[<p>I have found that I no longer like to use the list attribute for cfqueryparam as ColdFusion just creates a binded parameter per deliminated value. This causes a new execution plan to be created per number of listed items (one time a list has 6 attributes and another time only 2, this results in two execution plans in MS SQL).</p>
<p>As of today, I send a list in as only one single cfqueryparam with list=”no” but I wrap the value sent in using a dbo.listToRows() function.</p>
<p>Example:<br />
SELECT *<br />
FROM Table-Name<br />
WHERE column-name in (select * from dbo.rowsToList(,&#8217;,'))</p>
<p>&#8211;rowsToList is a SQL UDF that returns only one column of rows</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Acker Apple</title>
		<link>http://www.pukkared.com/2011/01/using-cfqueryparam-list-attribute-when-using-in-operator/comment-page-1/#comment-2434</link>
		<dc:creator>Acker Apple</dc:creator>
		<pubDate>Tue, 17 Jan 2012 21:12:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.pukkared.com/?p=1427#comment-2434</guid>
		<description>I have found that I no longer like to use the list attribute for cfqueryparam as ColdFusion just creates a binded parameter per deliminated value. This causes a new execution plan to be created per number of listed items (one time a list has 6 attributes and another time only 2, this results in two execution plans in MS SQL).

As of today, I send a list in as only one single cfqueryparam with list=&quot;no&quot; but I wrap the value sent in using a dbo.listToRows() function.

Example:
SELECT *
FROM Table-Name
WHERE</description>
		<content:encoded><![CDATA[<p>I have found that I no longer like to use the list attribute for cfqueryparam as ColdFusion just creates a binded parameter per deliminated value. This causes a new execution plan to be created per number of listed items (one time a list has 6 attributes and another time only 2, this results in two execution plans in MS SQL).</p>
<p>As of today, I send a list in as only one single cfqueryparam with list=&#8221;no&#8221; but I wrap the value sent in using a dbo.listToRows() function.</p>
<p>Example:<br />
SELECT *<br />
FROM Table-Name<br />
WHERE</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jules Gravinese</title>
		<link>http://www.pukkared.com/2011/01/using-cfqueryparam-list-attribute-when-using-in-operator/comment-page-1/#comment-1694</link>
		<dc:creator>Jules Gravinese</dc:creator>
		<pubDate>Thu, 13 Jan 2011 15:49:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.pukkared.com/?p=1427#comment-1694</guid>
		<description>Very cool tidbit - thanks for sharing! Much better than using other functions to create the quoted value list first.</description>
		<content:encoded><![CDATA[<p>Very cool tidbit &#8211; thanks for sharing! Much better than using other functions to create the quoted value list first.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
