random select of data

wayko

Active member
Joined
Nov 4, 2002
Messages
27
i want to setup a query that will select a random id from the database and display the information from column according to that id

so far i have

select katakana
from tango
where id = (rand(id)*64)

but the sql says Undefined function RAND in expression

any ideas?
 
You cant use Where ID = ...Because the sequence of numbers may be broken.

Are you using a DataReader or..?
 
Last edited by a moderator:
Back
Top