Multiple out put files when using updateSQL

I am using a seperate changelog file for creating tables and inserting data. and use these two files as include in a master.xml file that is used as input to the liquibase.


When i use updateSQL it creates one sql file for both create and insert, Is it possible to create a separate out file for each included file.

Can you please post your master script file code ?

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<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-3.0.xsd”>

   

   

I see. No, updateSQL just creates the full list of SQL that liquibase would run, regardless of how they are defined in the changelog file.


You should be able to run updateSQL against your createtables_v200.xml and Nathan

That is what i have done. Executed them separately to create separate files. Thank you