SAP DBTech JDBC: [257]: sql syntax error: incorrect syntax near "END": line 1 col 1 (at pos 1)
I am not able to execute simple anonymous blocks in SAP HANA Studio. I am getting below error.
I tried to execute below block:
DO
BEGIN
select null from dummy;
END;
I am getting below error
Could not execute ‘DO BEGIN select null from dummy’
SAP DBTech JDBC: [257]: sql syntax error: line 3 col 19 (at pos 30)
Could not execute ‘END’
SAP DBTech JDBC: [257]: sql syntax error: incorrect syntax near “END”: line 1 col 1 (at pos 1)
This is version issue. I was using 2.0. I have upgraded to 2.3.5 and it is working fine.