Skip to Main Content

SQLcl

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Does SQLCL Liquibase support parameter substitution

User_VM6IPJun 16 2022 — edited Jun 16 2022

Hi,
I am trying to use liquibase to automate running of scripts .The scripts are plsql sqplus format and have parameters that need to be substituted .
My change set looks like below
<changeSet author="tim" id="create_dev_workspace_v1" failOnError="true" >
<n0:runOracleScript objectName="create_workspace" ownerName="DEV_WS" sourceType="FILE" >
<n0:source>
<![CDATA[C:mySample.sql ]]>
</n0:source>
</n0:runOracleScript>
</changeSet>
and the mySample.sql (for example)
BEGIN
v_taskName := '&task';
thanks in advance

Comments

Processing

Post Details

Added on Jun 16 2022
1 comment
218 views