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: Looking for command to execute database procedure

Re: Looking for command to execute database procedure

From: Mike Krolewski <mkrolewski_at_rosetta.org>
Date: Wed, 13 Dec 2000 20:30:54 GMT
Message-ID: <918m9v$7bi$1@nnrp1.deja.com>

In article <918lgd$6dn$1_at_nnrp1.deja.com>,   anasuya_shukla_at_my-deja.com wrote:
> Hi ,
>
> Is there anyway to run an Oracle database procedure on
> a Unix box without invoking SQLPlus ?
> I want to execute this procedure in a shell script.
>
> Thanks
>
> Ana
>
> Sent via Deja.com
> http://www.deja.com/
>

You must execute SQL within some sort of environment. The simplist one is SQLPlus which can be executed from within a shell, with appropriate arguements / files. Read up on running scripts from files in SQLPlus.

Similarly, you could run SQL in other environments like perl and C/C++ and tcl. There require more coding and organization, but can prove a more robust response to queries. Of course these can be called from within a shell.

--
Michael Krolewski
Rosetta Inpharmatics
mkrolewski_at_rosetta.org
              Ususual disclaimers


Sent via Deja.com
http://www.deja.com/
Received on Wed Dec 13 2000 - 14:30:54 CST

Original text of this message

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