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

Re : How to create conditional indexes using createIndex?

$
0
0
Following works BUT it must be in a separate changeset than the createtable

<createIndex indexName="XCR_ACTIVE" tableName="Z_CS_CAPV_VEH_DELTA">
            <column name="ETL_ACTIVE_FL"/>
</createIndex>
<modifySql dbms="mssql">
            <append value=" WHERE ([ETL_ACTIVE_FL]='N')"/>
</modifySql>



Viewing all articles
Browse latest Browse all 2993

Trending Articles



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