Problem description: When I try to use ROWNUM() function, I get this error: "Access is denied: ROWNUM in statement" Steps to reproduce: 1. Creating a table (something simple with auto-inc primary key field. 2. Making a SQL query on the table. 3. Using ROWNUM() function for a field in the query. Current behavior: I get an error. Expected behavior: ROWNUM() function returns the row number (an on-the-fly incremental number for each returned row. Operating System: Windows 7 Version: 4.2.5.2 release
Kamil, Thank you for taking the time to report your problem. I wonder what database engine you are using? Does the engine support the rownum() function? LibreOffice is pretty much limited to the functionality provided by the database engine; if you have an embedded hsqldb database, you are using hsqldb version 1.8.0.10, and it does not support rownum(). When you respond, please set the status of this bug report back to UNCONFIRMED. HTH, Terry.
Thanks a lot! Sorry for the mistake. I am using hsqldb and I was not aware of this issue. I am switching to unconfirmed.
Further to comment 2, I am closing this NOTABUG. Kamil, Is it easy for you to work around the lack of ROWNUM()? Or do you have a more capable database engine available? <http://ask.libreoffice.org/en/questions/> may be able to give you some help. Terry.