SAP HANA: CREATE PROCEDURE statements with embedded semicola don't work #1531
What version of Flyway are you using?
Current master (03136dc, date: Feb 15, 2017)
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin, SBT plugin, ANT tasks)
What database are you using (type & version)?
SAP HANA Express 2.0 SPS 0
What operating system are you using?
What did you do?
Try to have flyway import the following file:
which is syntactically correct in the SAP HANA SQL dialect (in fact, the main part is copied from the HANA SQL reference for CREATE PROCEDURE).
What did you expect to see?
The file should be split into three statements (CREATE VIEW..., CREATE PROCEDURE..., DROP VIEW) and the statements should be executed against the DB.
What did you see instead?
The first statement is successfully executed, but the second statement is truncated at the first line that ends with a semicolon. Therefore it has an illegal syntax and is rejected by the db.
The text was updated successfully, but these errors were encountered: