Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Oracle Stored Procedures
> Can anybody tell me what the difference is between
> CREATE OR REPLACE PACKAGE
> and
> CREATE OR REPLACE TRIGGER
You can understand a PACKAGE as a collection of procedures,
functions, types which you have to call by yourself (explicitly).
A TRIGGER is called implicitly when the condition, the trigger
was designed for, becomes true (e.g. when you insert a row into
the table, the trigger belongs to). A trigger is always connected
to a table, it can not be run standalone.
Regards,
Knut Received on Wed May 16 2001 - 04:22:53 CDT
![]() |
![]() |