sql TOP clause
The SQL TOP clause is used to specify the number of records to retrieve.
When retrieving large number of records are done, the performance is affected. The TOP clause is useful on tables with very large number of records.
The sysntax is the following:
SELECT TOP NUMBER|PERCENT myColumn(s)
FROM myTable
Here are two examples
SELECT TOP 30 PERCENT * FROM myTable
SELECT TOP 3 * FROM myTable