I want to select the Top 10 records for a given query. So, I can use one of the following options:
The advantage of setmaxrows is that you can create universal statements, valid in Postgres, Oracle, Mysql etc As Oracle is using rownum syntax, postgres - limit, msqsql - top
Speedwise it seems like no difference.