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: ‘dropPackageBody’

Drops an existing package body

Available Attributes

NameDescription
catalogNameName of the catalogE.g. 'cat'
packageBodyNameName of the package body to dropE.g. 'A String'
schemaNameName of the schemaE.g. 'public'
<changeSet author="liquibase-docs" id="dropPackageBody-example">
    <pro:dropPackageBody catalogName="cat"
            packageBodyName="A String"
            schemaName="public"/>
</changeSet>
changeSet:
  id: dropPackageBody-example
  author: liquibase-docs
  changes:
  - dropPackageBody:
      catalogName: cat
      packageBodyName: A String
      schemaName: public
{
  "changeSet": {
    "id": "dropPackageBody-example",
    "author": "liquibase-docs",
    "changes": [
      {
        "dropPackageBody": {
          "catalogName": "cat",
          "packageBodyName": "A String",
          "schemaName": "public"
        }
      }]
    
  }
}

SQL Generated From Above Sample (MySQL)

DROP PACKAGE BODY cat.`A String`;

Database Support

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