Row limit algorithm

Row limits are set by the TOP n or FIRST clause of the SELECT statement.

For more information, see .