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 SQL Injection in SQL Server ?

What is the Difference Between CHAR and VARCHAR Datatypes in SQL ...

What is a Linked Server in SQL Server ?

What are the Different Recovery Models Inside SQL Server ?

What is SQL Server Agent ?