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

Calling sql scripts with some parameters

$
0
0
Hi,
I'm using Oracle CDC for which I have scripts to add columns, create tables... 
With liquibase (3.3) I have to call those scripts with the  <sqlFile> tag.
I can call them while I'm connected to the database connection where the published tables are stored.

My problem is that I need to have the source database reference also, as the Oracle commands needs it to create the link between source and target tables.

I already have the parameters in properties file, and can connect to the target tables scheme.

Is there a way to pass some parameters to the sql script in order to tell it what is the source scheme it needs? 

Best regards,
Frederic


Viewing all articles
Browse latest Browse all 2993

Trending Articles



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