[Gllug] Perl DBI question

Adrian McMenamin adrian at newgolddream.dyndns.info
Mon Oct 2 21:54:46 UTC 2006


Maybe more appropriate for a perl list...

Given a database of N records where N > 0 but size of N is otherwise
unkown, is it possible to pick a random record from the database?

I cannot find any examples on google...

Alternatively, any simple way (ie other than selecting every record and
counting them) of determining N?

Thanks

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list