I've an ORM layer that can communicates with several DBs, MYSQL,ORACLE,MS SQL and
I'am usign pagging in my applications, what i didn't know that i can get results
as pages straightfully from the query, so am updating the ORM layer to fit the 3 DBs
I mentioned.
In MYSQL SELECT * FROM myTable limit 5,5
In ORACLE SELECT * FROM ( SELECT * FROM myTable as t WHERE rownum < 100 ) WEHRE rownum > 10
But in MS SQL I cant find a way to get of the ORDER BY
in the query
I apologize for any syntax errors in the queries, they are from memory.
My question is, is there any way to get rid of the ORDER BY
and get paging capabilities for MS SQL