Change: ‘dropView’

Drops an existing view

Available Attributes

NameDescriptionRequired ForSupportsSince
catalogNameName of the catalogall3.0
schemaNameName of the schemaall
viewNameName of the view to dropallall
<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
DB2SupportedNo
DerbySupportedNo
FirebirdSupportedNo
H2SupportedNo
HyperSQLSupportedNo
InformixSupportedNo
MySQLSupportedNo
OracleSupportedNo
PostgreSQLSupportedNo
SQL ServerSupportedNo
SQLiteSupportedNo
SybaseSupportedNo
Sybase AnywhereSupportedNo

Missing, incomplete or wrong information? Please send a pull request