MS SQL Getting a Random Row in a Table

If we want to fetch a random row in a table in MS SQL Server, the following path is followed.

SELECT TOP 1 * FROM {Table Name} ORDER BY NEWID()


You May Interest

Differences Between Stored Procedure and Function in MS SQL

Disabling a Specified Trigger in MS SQL Server

Getting Character Count in MS SQL

What are Isolation Levels in SQL Server ?

What is NOLOCK Hint in SQL Server ?