It's not a secret anymore!*
The moose likes JDBC and the fly likes HSQL equivalent for rownum? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "HSQL equivalent for rownum?" Watch "HSQL equivalent for rownum?" New topic

HSQL equivalent for rownum?

Sridhar Thakkapan

Joined: Apr 24, 2011
Posts: 1

I have a oracle query which runs fine. It fetches rows from table, orders them by date, selects only top 10.

i have used rownum. It is also possible with rank and denserank. But i need to work in hsql as well. hsql does not support rownum

Kindly suggest .....
Consider Paul's rocket mass heater.
subject: HSQL equivalent for rownum?
Similar Threads
Selecting random rows
How to automate testing with database/web servers
Retrieving a subset of rows with SQL
JDBC2.0 feature. rs.absolute and relative( )