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: accessing package from perl script.

Re: accessing package from perl script.

From: <pankaj_wolfhunter_at_yahoo.co.in>
Date: 8 May 2007 00:14:12 -0700
Message-ID: <1178608452.329499.271280@n59g2000hsh.googlegroups.com>


On May 5, 12:15 am, balameena <meera..._at_gmail.com> wrote:
> How we run a oracle stored procedure from perl script...
>
> Command is exec packagename.procedure name
>
> For sybase , it is just calling "exec procedure"
>
> any help is appreciated.
>
> thanks

something like this will help:

$dbh = DBI->connect("DBI:Oracle:dbname", $username,$password);
$sth = $dbh->prepare( "begin procedure_name; end;");
$sth->execute();
$sth->finish();
$dbh->disconnect();
Received on Tue May 08 2007 - 02:14:12 CDT

Original text of this message

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