<!--- Select some stuff to display randomly
ORDER BY is just there to prove it works
--->
<cfquery name="test" datasource="#Variables.Datasource#">
SELECT LAST_NAME
FROM PERSON
WHERE SSN like ('000%')
ORDER BY LAST_NAME
</cfquery>
<!--- Create an array of random numbers, one for
each record in the record set --->
<cfset aRanArray = ArrayNew(1)>
<cfloop from="1" to='#test.RecordCount#' index="i">
<cfset aRanArray[i] = Rand()>
</cfloop>
<!--- Add the random numbers as a column to the query --->
<cfset temp = QueryAddColumn(test, "Rannum", aRanArray)>
<!--- Query from the query, ordering by the random number
--->
<cfquery name="testran" dbtype="query">
SELECT LAST_NAME, RANNUM
FROM test
ORDER BY RANNUM
</cfquery>
<!--- Do what you need to do to display the first 15 --->
<cfloop startrow="1" endrow="15" query="testran">
<!--- do your thing --->
</cfloop>