Search This Blog

Saturday, January 15, 2022

Oracle / PLSQL: DROP TRIGGER Statement

 

Oracle / PLSQL: DROP TRIGGER Statement

This Oracle tutorial explains how to use the DROP TRIGGER statement to drop a trigger in Oracle with syntax and examples.

Description

Once you have created a trigger in Oracle, you might find that you need to remove it from the database. You can do this with the DROP TRIGGER statement.

Syntax

The syntax to a drop a trigger in Oracle in Oracle/PLSQL is:

DROP TRIGGER trigger_name;

Parameters or Arguments

trigger_name
The name of the trigger that you wish to drop.

Note

Example

Let's look at an example of how to drop a trigger in Oracle.

For example:

DROP TRIGGER orders_before_insert;

This example uses the ALTER TRIGGER statement to drop the trigger called orders_before_insert.



No comments:

Post a Comment

PL/SQL - Collections

A collection is an ordered group of elements having the same data type. Each element is identified by a unique subscript that represents its...