Script failing while using PREPARE.
- From: Pijush_Sarker@xxxxxxxxxx (Pijush_Sarker)
- Date: Fri, 11 Jul 2008 16:05:04 +0530
Hi All,
I am using a perl script to execute a SQL from windows by using a CYGWIN tool which executes the script on a unix server. When I do so by logging into the server and executing the script the script runs fine.But when I do so using cygwin from windows the connect statement works fine but the prepare statement fails with the following error:
dbih_setup_handle(DBI::st=HASH(0x82af484o)=>DBI::st=HASH(0x814fcc4), DBD::ODB
C::st, 82af490, Null!)
dbih_make_com(DBI::db=HASH(0x82af400), 82af798, DBD::ODBC::st, 208, 0) thr#8
14f008
<> DESTROY ignored for outer handle DBI::st=HASH(0x82af484) (inner DBI::st=H
ASH(0x814fcc4) has ref cnt 1)
-> DESTROY for DBD::ODBC::st (DBI::st=HASH(0x814fcc4)~INNER) thr#814f008
Statement handle DBI::st=HASH(0x814fcc4) DESTROY ignored - never set up
ERROR: -2 '(DBD: st_prepare/SQLPrepare err=-2)'
<- DESTROY= undef at ppp.pl line 16
!! ERROR: -2 '(DBD: st_prepare/SQLPrepare err=-2)'
<- prepare= undef at ppp.pl line 16
My script name is ppp.pl.
Please advice.
Regards,
Pijush
________________________________
DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
- Prev by Date: Building 32bit DBD::Oracle against 64bit Oracle
- Next by Date: DBD-Oracle-1.21 installation issue
- Previous by thread: Building 32bit DBD::Oracle against 64bit Oracle
- Next by thread: DBD-Oracle-1.21 installation issue
- Index(es):
Relevant Pages
|