I have 4000 rows for example, and I define X limit.
The query stops after it finds X rows? or the query finds all the rows and then takes X rows from the found rows?
If you are using MS SQL Server, then you can write it as given below.
Select TOP [x] * From MyTable
Hope it helps.
Vamyip