Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Does liquibase support Invoking batch of sql from a single sql?

$
0
0
I am using liquibase to execute my sql scripts , my database is oracle. I would like to how to invoke multiple sqls .
My changeset looks like this
<changetset id = "abc" author = "system">
 <executeCommand  executable = C:\sqlplus.exe >
      <arg value = dbcredentials />
      <arg value = pathtosql/test.sql/>
  </executeCommand>
</changeset>

in test.sql file i have two more sql files which contains my actual sql scripts (two insert into table scripts)

insert1.sql
insert2.sql

what i am trying to do is , trying invoke couple of sql scripts from one test.sql.This is to know if it is possible to do or not?
When run liquibase went to hang state.
Note : I had used exit; / at the end of the actual scripts and the insert1.sql works perfect from liquibase when called directly.



Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>