Liquibase® version 3.8.5 is now available! Get it for free.
2018 XML Announcement
News All Previous Posts >>

Subscribe for email updates

- and/or -

Change: ‘dropView’

Drops an existing view

Available Attributes

NameDescription
catalogNameName of the catalog@ v3.0E.g. 'cat'
schemaNameName of the schemaE.g. 'public'
viewNameName of the view to dropE.g. 'v_person'
<changeSet author="liquibase-docs" id="dropView-example">
    <dropView catalogName="cat"
            schemaName="public"
            viewName="v_person"/>
</changeSet>
changeSet:
  id: dropView-example
  author: liquibase-docs
  changes:
  - dropView:
      catalogName: cat
      schemaName: public
      viewName: v_person
{
  "changeSet": {
    "id": "dropView-example",
    "author": "liquibase-docs",
    "changes": [
      {
        "dropView": {
          "catalogName": "cat",
          "schemaName": "public",
          "viewName": "v_person"
        }
      }]
    
  }
}

SQL Generated From Above Sample (MySQL)

DROP VIEW cat.v_person;

Database Support

DatabaseNotesAuto Rollback
DB2/LUWSupportedNo
DB2/zSupportedNo
DerbySupportedNo
FirebirdSupportedNo
H2SupportedNo
HyperSQLSupportedNo
INGRESSupportedNo
InformixSupportedNo
MariaDBSupportedNo
MySQLSupportedNo
OracleSupportedNo
PostgreSQLSupportedNo
SQL ServerSupportedNo
SQLiteSupportedNo
SybaseSupportedNo
Sybase AnywhereSupportedNo