I'm trying to create a random record SQL statement but do not:
1) Know if it is possible (I'm assuming that it does)
2) Know the correct syntax to pull it off.
All I want is 1 record at random. I am creating a media archive so the thought here is that each time the user refreshes a page, a random image can be displayed.
One point of order that must be made here is that the DBMS that I am running this on is self-created using PERL and DBI and SQL::Statement. While SQL::Statement is quite robust, it may not support function calls in the SQL query itself.
Any help would be apprechiated.
TIA
Sean Shrum
1) Know if it is possible (I'm assuming that it does)
2) Know the correct syntax to pull it off.
All I want is 1 record at random. I am creating a media archive so the thought here is that each time the user refreshes a page, a random image can be displayed.
One point of order that must be made here is that the DBMS that I am running this on is self-created using PERL and DBI and SQL::Statement. While SQL::Statement is quite robust, it may not support function calls in the SQL query itself.
Any help would be apprechiated.
TIA
Sean Shrum