This is a known question but the best solution I\'ve found is something like:
SELECT TOP N * FROM MyTable ORDER BY Id DESC
I\'ve a table wi
MS doesn't support LIMIT in t-sql. Most of the times i just get MAX(ID) and then subtract.
select * from ORDERS where ID >(select MAX(ID)-10 from ORDERS)
This will return less than 10 records when ID is not sequential.