<?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"
	>
<channel>
	<title>Comments on: Random database results with ColdFusion</title>
	<atom:link href="http://www.chapter31.com/2008/03/21/random-database-results-with-coldfusion/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chapter31.com/2008/03/21/random-database-results-with-coldfusion/</link>
	<description>development in a land far far away...</description>
	<pubDate>Mon, 08 Sep 2008 04:39:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>By: chapter31 &#187; Blog Archive &#187; Returning random results with MySQL</title>
		<link>http://www.chapter31.com/2008/03/21/random-database-results-with-coldfusion/#comment-43449</link>
		<dc:creator>chapter31 &#187; Blog Archive &#187; Returning random results with MySQL</dc:creator>
		<pubDate>Fri, 28 Mar 2008 17:01:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2008/03/21/random-database-results-with-coldfusion/#comment-43449</guid>
		<description>[...] History is what was written down.      &#171; Options for accessing the ColdFusion 8 documentation Random database results with ColdFusion [...]</description>
		<content:encoded><![CDATA[<p>[...] History is what was written down.      &laquo; Options for accessing the ColdFusion 8 documentation Random database results with ColdFusion [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Sargent</title>
		<link>http://www.chapter31.com/2008/03/21/random-database-results-with-coldfusion/#comment-42846</link>
		<dc:creator>Kevin Sargent</dc:creator>
		<pubDate>Sun, 23 Mar 2008 00:29:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2008/03/21/random-database-results-with-coldfusion/#comment-42846</guid>
		<description>I'm going to guess that a stored proc would be even better code-wise and speedilicousness-wise. have you tested that? I ask sincerely, because I will be doing a lot of random row queries on a big table soon and wanna know :)</description>
		<content:encoded><![CDATA[<p>I&#8217;m going to guess that a stored proc would be even better code-wise and speedilicousness-wise. have you tested that? I ask sincerely, because I will be doing a lot of random row queries on a big table soon and wanna know <img src='http://www.chapter31.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Sharman</title>
		<link>http://www.chapter31.com/2008/03/21/random-database-results-with-coldfusion/#comment-42653</link>
		<dc:creator>Michael Sharman</dc:creator>
		<pubDate>Fri, 21 Mar 2008 14:30:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2008/03/21/random-database-results-with-coldfusion/#comment-42653</guid>
		<description>@Tom - Why would you not be able to use an ORDER BY clause?

All we're doing is saying "get me all the records which have 'x' as the primary key". You can still use ORDER BY anything you want.

Also I'm not quite sure I get your post (in terms of a query). Will that not return a random list of row numbers? How will that help when looping to output a resultset?</description>
		<content:encoded><![CDATA[<p>@Tom - Why would you not be able to use an ORDER BY clause?</p>
<p>All we&#8217;re doing is saying &#8220;get me all the records which have &#8216;x&#8217; as the primary key&#8221;. You can still use ORDER BY anything you want.</p>
<p>Also I&#8217;m not quite sure I get your post (in terms of a query). Will that not return a random list of row numbers? How will that help when looping to output a resultset?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Sharman</title>
		<link>http://www.chapter31.com/2008/03/21/random-database-results-with-coldfusion/#comment-42649</link>
		<dc:creator>Michael Sharman</dc:creator>
		<pubDate>Fri, 21 Mar 2008 14:02:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2008/03/21/random-database-results-with-coldfusion/#comment-42649</guid>
		<description>@Kris - your comment didn't quite come through.

I did say that duplicate records could be returned with randRange(), is that what you meant?</description>
		<content:encoded><![CDATA[<p>@Kris - your comment didn&#8217;t quite come through.</p>
<p>I did say that duplicate records could be returned with randRange(), is that what you meant?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Mollerus</title>
		<link>http://www.chapter31.com/2008/03/21/random-database-results-with-coldfusion/#comment-42643</link>
		<dc:creator>Tom Mollerus</dc:creator>
		<pubDate>Fri, 21 Mar 2008 13:10:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2008/03/21/random-database-results-with-coldfusion/#comment-42643</guid>
		<description>I note that this means you can't use an ORDER BY clause in your SQL statement, which may be quite a disadvantage in some circumstances. If you can loop through the query with a cfloop instead of a cfoutput, you can achieve random results much faster and with only one hit on the database by just looping through a randomized list of query rows:
http://www.mollerus.net/tom/blog/2008/03/creating_randomlyordered_lists.html</description>
		<content:encoded><![CDATA[<p>I note that this means you can&#8217;t use an ORDER BY clause in your SQL statement, which may be quite a disadvantage in some circumstances. If you can loop through the query with a cfloop instead of a cfoutput, you can achieve random results much faster and with only one hit on the database by just looping through a randomized list of query rows:<br />
<a href="http://www.mollerus.net/tom/blog/2008/03/creating_randomlyordered_lists.html" rel="nofollow">http://www.mollerus.net/tom/blog/2008/03/creating_randomlyordered_lists.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris Brixon</title>
		<link>http://www.chapter31.com/2008/03/21/random-database-results-with-coldfusion/#comment-42633</link>
		<dc:creator>Kris Brixon</dc:creator>
		<pubDate>Fri, 21 Mar 2008 12:21:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2008/03/21/random-database-results-with-coldfusion/#comment-42633</guid>
		<description>You are open to duplicate rows.
Try something like:

&lt;code&gt;&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>You are open to duplicate rows.<br />
Try something like:</p>
<p><code></code></p>
]]></content:encoded>
	</item>
</channel>
</rss>
