Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: can you call a procedure from trigger in Pl/Sql

Re: can you call a procedure from trigger in Pl/Sql

From: Brian Peasland <oracle_dba_at_nospam.peasland.net>
Date: Fri, 14 Apr 2006 01:11:13 GMT
Message-ID: <Ixotyr.13E@igsrsparc2.er.usgs.gov>


suneel.nani_at_gmail.com wrote:
> can you call a procedure from trigger in Pl/Sql
>

Yes you can. For example:

CREATE TRIGGER example_trigger
BEFORE INSERT ON emp
FOR EACH ROW
BEGIN
    example_proc;
END;
/

HTH,
Brian

-- 
===================================================================

Brian Peasland
oracle_dba_at_nospam.peasland.net
http://www.peasland.net

Remove the "nospam." from the email address to email me.


"I can give it to you cheap, quick, and good.
Now pick two out of the three" - Unknown
Received on Thu Apr 13 2006 - 20:11:13 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US