I have worked with oracle where to select data within a particular row range the query is :
SELECT * from TABLE WHERE rownum>0 AND rownum<=10
What would be the corresponding query in HSQL?
I have worked with oracle where to select data within a particular row range the query is :
SELECT * from TABLE WHERE rownum>0 AND rownum<=10
What would be the corresponding query in HSQL?
Copyright © 2021 Jogjafile Inc.
HSQLDB supports the
LIMITandOFFSETkeywordNote that
limitandoffsetmake no sense without anorder byclause (which is true for Oracle as well).HSQLDB also supports the ANSI SQL standard
fetch first x rowsbut that will require the use of anorder byThe above is also supported by Oracle since 12.1
See the manual for details
http://hsqldb.org/doc/2.0/guide/dataaccess-chapt.html#dac_slicing