Hi all,
New to Liquibase and trying to use it to execute scripts in Oracle which have a &1 variable for the schema name.
We currently execute like “sqlplus user/pass@db @SCRIPT.sql TEST” where TEST will be the replacement for &1. Is it possible to pass an argument similarly if Liquibase runs my script?
I looked at the parameter property option (e.g. -Dschema=TEST and ${schema} in the SQL script), but that prevents the SQL script from being executed outside Liquibase which is also a problem.
Appreciate any suggestions… Thanks!!
-
Learn
-
Resources
-
Free Tools
OSS Risk Scanner Database DevOps Risk AssessmentCheat Sheets
Snowflake + Liquibase Databricks + Liquibase -
eBooks
6 Liquibase Community Risks & How to Avoid Guide: SOC 2 Compliance at the Database Layer Guide: Quantify the Value of Liquibase Secure -
Comparison Guides
Liquibase vs. Flyway Liquibase vs. Bytebase Liquibase Community vs Liquibase Secure
-
- Quickstart
- Get Started
- Documentation
- University
-
Resources
- Connect
- Contribute
- Join
- Blog