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

Drop trigger

Available Attributes

NameDescription
catalogNameName of the catalogE.g. 'cat'Supported by: db2, db2z, oracle, postgresql
schemaNameName of the schemaE.g. 'public'
scopeE.g. 'A String'
tableNameName of the tableE.g. 'person'
triggerNameE.g. 'A String'
<changeSet author="liquibase-docs" id="dropTrigger-example">
    <pro:dropTrigger catalogName="cat"
            schemaName="public"
            scope="A String"
            tableName="person"
            triggerName="A String"/>
</changeSet>
changeSet:
  id: dropTrigger-example
  author: liquibase-docs
  changes:
  - dropTrigger:
      catalogName: cat
      schemaName: public
      scope: A String
      tableName: person
      triggerName: A String
{
  "changeSet": {
    "id": "dropTrigger-example",
    "author": "liquibase-docs",
    "changes": [
      {
        "dropTrigger": {
          "catalogName": "cat",
          "schemaName": "public",
          "scope": "A String",
          "tableName": "person",
          "triggerName": "A String"
        }
      }]
    
  }
}

SQL Generated From Above Sample (SQL Server)

DROP TRIGGER [public].[A String];

Database Support

DatabaseNotesAuto Rollback
DB2/LUWSupportedNo
DB2/zSupportedNo
DerbyNot SupportedNo
FirebirdNot SupportedNo
H2Not SupportedNo
HyperSQLNot SupportedNo
INGRESNot SupportedNo
InformixNot SupportedNo
MariaDBNot SupportedNo
MySQLNot SupportedNo
OracleSupportedNo
PostgreSQLSupportedNo
SQL ServerSupportedNo
SQLiteNot SupportedNo
SybaseNot SupportedNo
Sybase AnywhereNot SupportedNo