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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: executable trigger

Re: executable trigger

From: Stephane Faroult <sfaroult_at_oriole.com>
Date: Thu, 28 Jun 2001 13:56:01 -0700
Message-ID: <F001.0033CBC8.20010628140427@fatcity.com>

"Allen R. Lucas" wrote:
>
> We have Oracle 8.0.5 in NT4.0.
>
> A developer asked if an Oracle trigger can be used to kick off an
> executable. Looking in my books, I would have to assume 'no' as I find
> noreference to this, but can anyone verify I am wrong, and where could I
> get addiional information if I am wrong?
>

If you want to directly code :

   begin
     execute_code('myprog');
   end;
not directly. What you can do is to have the program in the starting blocks, waiting, and issue a DBMS_ALERT call in your trigger which will be interpreted as a gun firing by your program.

-- 
Regards,

Stephane Faroult
Oriole Corporation
Voice:  +44  (0) 7050-696-269 
Fax:    +44  (0) 7050-696-449 
Performance Tools & Free Scripts
--------------------------------------------------------------
http://www.oriole.com, designed by Oracle DBAs for Oracle DBAs
--------------------------------------------------------------
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Stephane Faroult
  INET: sfaroult_at_oriole.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu Jun 28 2001 - 15:56:01 CDT

Original text of this message

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