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

What is an Online Rebuilding of Indexes in SQL Server ?

Finding Session Id in MS SQL User's Current Process

Differences Between Stored Procedure and Function in MS SQL

MS SQL Finding Which Tables a Column Name is In

What is Auditing Inside SQL Server ?