I am accessing a Db2 LUW database via LibreOffice using jdbc. Accessing a table, e.g. a timestamp field, runs fine.
SELECT A_TIMESTAMP FROM MYSCHEMA.MYTABLE
However, if I intend to use a Db2 function, the thing fails.
SELECT DATE(A_TIMESTAMP) FROM MYSCHEMA.MYTABLE
For this query, I get a popup saying “Syntax error in SQL statement”. This does not appear to get sent to the database, i.e. the error is not coming from Db2, but from LibreOffice.
What is wrong ?
Thanks
Malte