Change: ‘dropProcedure’

Drops an existing procedure

Available Attributes

NameDescriptionRequired ForSupportsSince
catalogNameName of the catalogall
procedureNameName of the stored procedure to dropallall
schemaNameName of the schemaall
<changeSet author="liquibase-docs" id="dropProcedure-example">
    <dropProcedure catalogName="cat"
            procedureName="full_name"
            schemaName="public"/>
</changeSet>
changeSet:
  id: dropProcedure-example
  author: liquibase-docs
  changes:
  - dropProcedure:
      catalogName: cat
      procedureName: full_name
      schemaName: public
{
  "changeSet": {
    "id": "dropProcedure-example",
    "author": "liquibase-docs",
    "changes": [
      {
        "dropProcedure": {
          "catalogName": "cat",
          "procedureName": "full_name",
          "schemaName": "public"
        }
      }]
    
  }
}

SQL Generated From Above Sample (MySQL)

DROP PROCEDURE cat.full_name;

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