This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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 .....
I agree. Here's the link:
subject: HSQL equivalent for rownum?
Similar Threads
Retrieving a subset of rows with SQL
JDBC2.0 feature. rs.absolute and relative( )
Selecting random rows
How to automate testing with database/web servers