What is TABLESAMPLE in SQL Server ?

TABLESAMPLE allows you to extract a sampling of rows from a table in the FROM clause. The rows retrieved are random and they are not in any order. This sampling can be based on a percentage of several rows. You can use TABLESAMPLE when only a sampling of rows is necessary for the application instead of a full result set.



You May Interest

Finding Session Id in MS SQL User's Current Process

What is the Use of Dedicated Admin Connection ?

What is Failover Clustering in SQL Server ?

What is a Filestream in SQL Server ?

Using MS SQL TOP