dropTrigger

Drop trigger

Available attributes

Name Description Required for Supports Since
catalogName Name of the catalog db2, db2z, oracle, postgresql
schemaName Name of the schema all
scope all
tableName Name of the table all
triggerName all all

XML example

<changeSet  author="liquibase-docs"  id="dropTrigger-example">  
    <pro:dropTrigger  catalogName="cat"  
            schemaName="public"  
            scope="A String"  
            tableName="person"  
            triggerName="A String"/>  
</changeSet>

YAML example

changeSet:  
  id:  dropTrigger-example  
  author:  liquibase-docs  
  changes:  
  -  dropTrigger:  
      catalogName:  cat  
      schemaName:  public  
      scope:  A String  
      tableName:  person  
      triggerName:  A String

JSON example

{  "changeSet":  {  "id":  "dropTrigger-example",  "author":  "liquibase-docs",  "changes":  [  {  "dropTrigger":  {  "catalogName":  "cat",  "schemaName":  "public",  "scope":  "A String",  "tableName":  "person",  "triggerName":  "A String"  }  }]  }  }

SQL example

DROP  TRIGGER  [public].[A  String];

Database support

Database Notes Auto rollback
DB2/LUW Supported No
DB2/z Supported No
Derby Not Supported No
Firebird Not Supported No
H2 Not Supported No
HyperSQL Not Supported No
INGRES Not Supported No
Informix Not Supported No
MariaDB Not Supported No
MySQL Not Supported No
Oracle Supported No
PostgreSQL Supported No
SQL Server Supported No
SQLite Not Supported No
Sybase Not Supported No
Sybase Anywhere Not Supported No