Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin, SBT plugin, ANT tasks)
I am using the JAVA API to do the migration.
What database are you using (type & version)?
SAP HANA Version SP 11
What operating system are you using?
What did you do?
(Please include the content causing the issue, any relevant configuration settings, and the command you ran)
I am trying to execute migration with following procedure
DECLARE v_count INT;
CREATE TABLE TAB1 (I INTEGER);
FOR v_count IN 1..10 DO
INSERT INTO TAB1 VALUES (:v_count);
What did you expect to see?
The script works successfully in SAP HANA when executed directly
What did you see instead?
SQL State : HY000
Error Code : 257
Message : SAP DBTech JDBC:  (at 26): sql syntax error: line 3 col 17 (at pos 26)
Location : db/migration/hana/V1__create.table.sql
Line : 1
Statement : DO
DECLARE v_count INT
The text was updated successfully, but these errors were encountered: