Return rows in random order
sql, sql-server, t-sql
Solution
SELECT * FROM table
ORDER BY NEWID()
Problem
Is it possible to write SQL query that returns table rows in random order every time the query run?
sql, sql-server, t-sql
SELECT * FROM table
ORDER BY NEWID()
Is it possible to write SQL query that returns table rows in random order every time the query run?