Oracle8i SQL Reference
Release 2 (8.1.6)

A76989-01

Library

Product

Contents

Index

Prev Up Next

SQL Statements (continued), 25 of 30


DROP TRIGGER

Syntax


Purpose

To remove a database trigger from the database.

See Also:

"CREATE TRIGGER" for information on creating triggers. 

Prerequisites

The trigger must be in your own schema or you must have the DROP ANY TRIGGER system privilege.

In addition, to drop a trigger on DATABASE in another user's schema, you must have the ADMINISTER DATABASE TRIGGER system privilege.

See Also:

"CREATE TRIGGER" for information on these privileges. 

Keywords and Parameters

schema 

is the schema containing the trigger. If you omit schema, Oracle assumes the trigger is in your own schema.  

trigger 

is the name of the trigger to be dropped. Oracle removes it from the database and does not fire it again. 

Example

The following statement drops the REORDER trigger in the schema RUTH:

DROP TRIGGER ruth.reorder; 

Prev Up Next
Oracle
Copyright © 1999 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index