Select Random Row, SQL Server
Join the DZone community and get the full member experience.
Join For Free// select a random row in SQL Server, apparently. Untested.
SELECT TOP 1 column FROM table
ORDER BY NEWID()
sql
Opinions expressed by DZone contributors are their own.
Comments