Previous Topic: Maintaining Routines and Their KeysNext Topic: Modifying a Routine


Dropping a Routine

DROP Routine Statements

To drop a routine, use one of the following statements:

No CASCADE

When you drop a routine (without CASCADE), the following definitions are removed from the dictionary:

With CASCADE

If you specify CASCADE, these additional definitions are removed from the dictionary:

Example

In the following example, the table procedure WORK_SCHEDULE is dropped. This also drops any views derived from this table procedure.

drop table procedure work_schedule cascade;