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

MS SQL Getting List of All Column Names of a Table

When Will You Use SQLDiag Tool ?

How to Restart SQL Server in Single-User Mode ?

Getting the Id of MS SQL Server Last Entered Record

What are the INTERSECT Operators in SQL Server ?