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

Re : Creating a view using code.

$
0
0
Yes, I did used CreateViewChange.setSelectQuery() and that is what I got in my changeLog:


<changeSet author="liquibase-docs" id="createView-example">
    <createViewChange  catalogName="cat"
            replaceIfExists="true"
            schemaName="public"
            viewName="v_person" 
           selectQuery="select id, name from person where id > 10" viewName="v_aprdrglist">
      </createViewChange>         
</changeSet>
I don't think this is going to create the view. Any thoughts?


Viewing all articles
Browse latest Browse all 2993

Trending Articles



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