Re: (Fwd) Perl Oracle incompatibility
From: Jayaraj (jayarajo_at_gmail.com)
Date: 10/29/04
- Next message: Lubomir G. Vassilev: "RE: Error: Can't load '/cygdrive/c/Oracle/Ora81/bin/Oracle' for module DBD::Oracle..."
- Previous message: Andy Hassall: "RE: Error: Can't load '/cygdrive/c/Oracle/Ora81/bin/Oracle' for module DBD::Oracle..."
- In reply to: Tim Bunce: "(Fwd) Perl Oracle incompatibility"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Oct 2004 23:36:56 -0700
Rachita,
I have encountered similar problem before..
Let me understand your problem..
This problem can be because
1. when you are calling stored procedure from your perl program, you
might have supplied less length to the OUT variable and in the stored
procedure, the value written is more than this length.
2. are using any LONG data type?
Can you give me your perl code where you are invoking the stored
procedure and the srored procedure itself?
Thanks,
Jay
Tim.Bunce@pobox.com (Tim Bunce) wrote in message news:<20041028211347.GA54606@dansat.data-plan.com>...
> ----- Forwarded message from Rachita <rachita.sachdeva@bhartitelesoft.com> -----
>
> Delivered-To: tim.bunce@pobox.com
> X-Pobox-Antispam: Require PTR Record returned DENY: 202.56.229.147 has no PTR record
> X-SPF-Guess: pass (seems reasonable for rachita.sachdeva@bhartitelesoft.com to mail through 202.56.229.147)
> From: "Rachita" <rachita.sachdeva@bhartitelesoft.com>
> To: <tim.bunce@pobox.com>
> Subject: Perl Oracle incompatibility
> Date: Thu, 28 Oct 2004 22:16:44 +0530
> X-ECS-MailScanner: Found to be clean
>
> Hi Tim,
>
> I have been struggling with this for quite some time, going thru various
> articles, faqs and mailing lists, but still not able to go thru. So thought
> of bugging u ???
>
> I have perl, v5.6.0 built for i386-linux and DBI 1.20 and DBD::ORACLE 1.12
> running with Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production.
>
> I have a perl file for generating summary reports by interacting with the
> Oracle database. All the database queries work fine till it encounters the
> query where a stored procedure is being called. At this poing I get the
> following error:
>
> DBD::Oracle::st execute failed: ORA-06502: PL/SQL: numeric or value error:
> character string buffer too small
> DBD ERROR: OCIStmtExecute
> DBD::Oracle::st fetchrow_array failed: ERROR no statement executing (perhaps
> you need to call execute first)
>
> It was working fine with oracle 8.1.6 and 8.1.7 I guess some configuration
> settings have to be done for my perl to execute the stored procedure written
> in oracle.
>
> Thanks in advance. Awaiting ur reply.
>
> Regards,
> Rachita
>
>
> ----- End forwarded message -----
- Next message: Lubomir G. Vassilev: "RE: Error: Can't load '/cygdrive/c/Oracle/Ora81/bin/Oracle' for module DBD::Oracle..."
- Previous message: Andy Hassall: "RE: Error: Can't load '/cygdrive/c/Oracle/Ora81/bin/Oracle' for module DBD::Oracle..."
- In reply to: Tim Bunce: "(Fwd) Perl Oracle incompatibility"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|