Front page | perl.dbi.users |
Postings from February 2001
Report for Oraperl
Thread Next
From:
ryo
Date:
February 1, 2001 19:06
Subject:
Report for Oraperl
Message ID:
4.2.0.58.J.20010202115106.009f59b0@yokohama.grape.co.jp
Dear Sir:
I have met some trouble for oraperl. I need your help.
I am using Cgi(oraperl) to access oracle database with
&ora_open($lda,$Sql). But when I input a wrong Sql command,
parameter ($ora_errno) doesn't come back and program is aborted.
For example:
1: $Sql = "insert into table1(abc) ";
2: &ora_open($lda,$Sql);
3: if( $ora_errno != 0 )[
print "Oracle Operation Error!";
return -1;
}
When i try it, line 3 isn't executed. How do i do?
Thaks for your help.
Tom Lt
***************************************************
$BNB!!!!Es!!!!!!(Bryo@yokohama.grape.co.jp
$B!J3t!K%0%l!<%W%7%9%F%`!!%7%9%F%`It(B
220-6180 $B2#IM@>6h$_$J$H$_$i$$#2!]#3!]#3(B
$B%/%#!<%s%:%?%o!!!](BB$B!!#8(BF
Tel$B!'(B045$B!>(B222-3753 Fax$B!'(B045-222-3760
***************************************************
Thread Next
-
Report for Oraperl
by ryo