Getting Rows in a Table in Random Order in MS SQL
In MS SQL Server, the following procedure is followed to randomly fetch all records in a table.
SELECT * FROM {Table Name} ORDER BY NEWID()
In MS SQL Server, the following procedure is followed to randomly fetch all records in a table.
SELECT * FROM {Table Name} ORDER BY NEWID()