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

Home -> Community -> Usenet -> c.d.o.server -> Re: PL/SQL calling external procedures

Re: PL/SQL calling external procedures

From: Damien Salvador <damien.salvador_at_via.ecp.fr>
Date: 14 Jan 2002 21:56:07 GMT
Message-ID: <slrna46kvl.s7i.damien.salvador@zen.via.ecp.fr>


On Mon, 14 Jan 2002 19:48:13 -0000, Jeremy Ovenden <jovenden_NOSPAM_at_hazelweb.co.uk> a écrit:
>What I would like to be able to do is execute a program on the server but
>initiated by pl/sql procedure - does the external procedure have to be
>written in 'c' (as I believe is the case) or could one call e.g. a shell
>script (as I am hoping but not betting on it!)

What you can do with exproc is call a function in a shared library you declare to pl/sql.

You can imagine a function doing exec() calls in C. Beware of the costs in term of cpu/memory though.

-- 
Damien
Received on Mon Jan 14 2002 - 15:56:07 CST

Original text of this message

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