on 07-12-2013 12:17 PM
Hello,
I am trying to fetch rows from MaxDB with limit and offset. However, I cannot use the offset syntax found at http://help.sap.com/saphelp_erp60_sp/helpdata/de/40/1312152fa511d3a98100a0c9449261/content.htm.
I am able to fetch e.g. result 1 to 15 by using "limit 15", but if I try to get result 15 to 30 by using "limit 15,15" i get the following error:
"Error Executing 'Processing result rows' SAP DBTech JDBC: [-7085]: Function not allowed for this cursor.[-7085]: Function not allowed for this cursor"
Could my SQL syntax contain errors, or does MaxDB not support the use of offset with the limit clause?
My MaxDB Version is 7.6.06.03.
Hi,
the LIMIT clause with offset works only with 'forward only cursor'.
To switch to forward only cursor in Databbase Studio select
Windows->Preferences->Database Studio->Query Results
and enable the "Use forward only result cursor" Checkbox.
Kind regards,
B*
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Burkhard,
Thank you for helping me once again, you help is always much appreciated.
unfortunately i was misunderstood.
I am asking about Limit with offfset in SQL statment, since i am selecting huge Data for the website, i would like to trancute it into parts which makes the results faster for the website.
thanks alot
regards
any Help please? thanks alot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.