2

I am trying to execute multiple scripts from one SQL file, running it in sequence. E.g. if I have V1.0__Test0.sql, and the contents are:

@V1.1__Test1.sql;
@V1.1__Test2.sql;

If I run the migrate option, I get an ORA-00900: invalid SQL statement error. Does Flyway support what I am trying to achieve?

1
  • The @ is a SQL*Plus command not a standard SQL statement. So that can't be used through JDBC (or any other tool that is not SQL*Plus) Commented Oct 30, 2015 at 12:21

1 Answer 1

2

No. This is documented in the limitations: http://flywaydb.org/documentation/database/oracle.html#limitations

Sign up to request clarification or add additional context in comments.

2 Comments

Thank you,Axel. Would there be a workaround to achieve what I want to though?
looks like it does now, there are clearly many examples doing multiple statements in one migration file flywaydb.org/documentation/concepts/…

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.