Hello ipascualc,
I suppose you are using the MaxDB connect mode 'internal'. I have tried myself and got the same incorrect result when connecting with 'internal' mode.
However, MaxDB in SAP R/3 environments always runs with connect mode 'Oracle' for compatibility reasons (except the jdbc connect).
In short: connect MaxDB with 'Oracle' mode and it should work (at least it returned the expected result with 7.7.07.39 on my PC...).
I will create a PTS bug ticket to have this fixed for the 'internal mode'.
Thorsten
Message was edited by: Thorsten Zielke
edit:
Bug tracking PTS for MaxDB 7.6.06 is PTS1250564