Skip to Content
0
Jun 25, 2020 at 12:10 PM

SQLExecDirect() of ROLLBACK TO SAVEPOINT fails with Windows ODBC driver but not on Linux

137 Views

Hello,

Strange thing we face here with SAP HANA client ODBC version 2.04.194.25592 on Windows:

SQLExecDirect() of "ROLLBACK TO SAVEPOINT <name>" fails with the following error:

SQL State: 42000
SQL code : 257
Message : [SAP AG][LIBODBCHDB DLL][HDBODBC] Syntax error or access violation;257 sql syntax error: incorrect syntax near "SUBTRANS": line 1 col 1 (at pos 1)

It's quite strange because the equivalent SAP HANA ODBC driver for Linux (version 2.4.194.1586979832) does not produce this error...


Any idea?

Is there a more recent SAP HANA client for Windows available?

Seb