I need a different random number for each row in my table. The following seemingly obvious code uses the same random value for each row.
SELECT table_name,
You would need to call RAND() for each row. Here is a good example
https://web.archive.org/web/20090216200320/http://dotnet.org.za/calmyourself/archive/2007/04/13/sql-rand-trap-same-value-per-row.aspx