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

Re : Cannot execute Oracle stored procedure

$
0
0
I guess Execution will not support, It will create the procedure only.. can you try to use below tag

<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
  xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
         http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd"
         logicalFilePath="test.xml">
    <changeSet id="1" author="user">
          <createProcedure>
            <![CDATA[
                exec ODS.UTIL_PKG.TRUNCATE('MY_TABLE');
                    ]]>
        </createProcedure>
       
        <rollback>
        <createProcedure>
        <![CDATA[
                  select * from dual;
                ]]>
        </createProcedure>
        </rollback>
    </changeSet>
</databaseChangeLog>




Viewing all articles
Browse latest Browse all 2993

Trending Articles



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