dropFunction
Note: This is a Liquibase Pro Change Type, so you need a Liquibase Pro License Key to use it.
Drops an existing function.
Available attributes
Name | Description | Required for | Supports | Since |
---|---|---|---|---|
catalogName
|
Name of the catalog |
asany, db2, db2z, derby, firebird, h2, hsqldb, informix, ingres, mariadb, mysql, oracle, postgresql, sqlite, sybase | ||
functionName
|
Name of the function to drop | all | all | |
schemaName
|
Name of the schema |
all |

<changeSet author="liquibase-docs" id="dropFunction-example">
<pro:dropFunction catalogName="cat"
functionName="A String"
schemaName="public"/>
</changeSet>

changeSet:
id: dropFunction-example
author: liquibase-docs
changes:
- dropFunction:
catalogName: cat
functionName: A String
schemaName: public

{
"changeSet": {
"id": "dropFunction-example",
"author": "liquibase-docs",
"changes": [{
"dropFunction": {
"catalogName": "cat",
"functionName": "A String",
"schemaName": "public"
}
}]
}
}

DROP FUNCTION cat.`A String`;
Database support
Database | Notes | Auto Rollback |
---|---|---|
DB2/LUW | Supported | Yes |
DB2/z | Supported | Yes |
Derby | Supported | Yes |
Firebird | Supported | Yes |
H2 | Supported | Yes |
HyperSQL | Supported | Yes |
INGRES | Supported | Yes |
Informix | Supported | Yes |
MariaDB | Supported | Yes |
MySQL | Supported | Yes |
Oracle | Supported | Yes |
PostgreSQL | Supported | Yes |
Snowflake | Supported | Yes |
SQL Server | Supported | Yes |
SQLite | Not Supported | No |
Sybase | Supported | Yes |
Sybase Anywhere | Supported | Yes |