Does anyone know of a way or how I would go about randomizing a SQL result set. I have a list of names and addresses in a database and I would like to return the results on a search, which is working.
Problem #1. What I would like to do now is have the results return in a random order so if someone runs the same search multiple times it will return the results in a different order.
Problem #2. This issues is directly related to the above issues. What happens when I have a list of 30 names and addresses and I want to only display 10 names on a page with "next, prev" buttons? How to I know the previous order?
Thanks
- Justin