[Zope] Randomizing SQL Data ?

J. Atwood Jatwood@bwanazulia.com
Wed, 15 Mar 2000 17:22:40 -0500


I have some data returned by a SQL Method that I want to randomly pick from.
Since I cannot get the SQL Statement to return random data sets I was going
to use the "_.whrandom.choice" to go over the SQL list and create a new list
of the randomized choices.


This will go over the SQL Content
<dtml-in sqlMethod size=10 start=query_start>
</dtml-in>

But how do I create a list? (in Python I would just say list = () and a
list.append()

TIA,
JMA