Sybase ASE: parsing error with double-quoted string literals #2281
Which version and edition of Flyway are you using?
Flyway Community Edition 5.1.4
If this is not the latest version, can you reproduce the issue with the latest one as well?
(Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Have not tried with the latest version
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Which database are you using (type & version)?
Which operating system are you using?
What did you do?
(Please include the content causing the issue, any relevant configuration settings, the SQL statement that failed (if relevant) and the command you ran.)
Flyway gives a syntax error for the sql where as the same sql works just fine in rabbit sql or any other tool which executes sql.
The text was updated successfully, but these errors were encountered:
Ran with the latest available version flyway-5.2.4
Please find the SQL below
/* Begin Removal of XXXXXXXXXX changes */ select "**" + char(10) + "** Pre-change 'FROM' MXXXX XXXXX PLAN (" + convert(varchar(20),@FromXXXXXX) + ") XXXXX XXXX:" select " " + s.SubjectXXX as ' ' from Subject s, SubjectXXXXXXXRel sr where s.SubjectXXX = @XXXXXXXXX and s.SubXXXXXXXXX = sr.XXXXXXXXXXX and sr.SubjXXXXXXXXXXXX = 1 order by SubjectXXX /* End XXXXXXX of XXXXXXXXXXXX changes */
@axelfontaine my shop uses 15.7 version of Sybase which is no longer supported by the community version of Flyway and at this time they wont go for the enterprise version. Had they used the community version for sometime then they could have been inclined to use the enterprise version but now that is not an option
Thanks anyways for your response