Database - The TOP Clause

The TOP clause is used to specify the number of records to return.
The TOP clause can be very useful on large tables with thousands
of records. Returning a large number of records can impact
on performance.
Note: Not all database systems support the TOP clause.
SELECT TOP 2 * FROM emp10
SELECT TOP 50 PERCENT * FROM employee

Comments

Popular posts from this blog

How to set Java Object into JaxBElement ?

GitLab