RE: Strange error when doing insert into DB



Send the code that you have written that throws this error.

--
Ron Reidy
Lead DBA
Array BioPharma, Inc.

-----Original Message-----
From: Hemlata Lalwani [mailto:hemlata.lalwani@xxxxxxxxxxxx]
Sent: Monday, February 20, 2006 9:48 PM
To: shildreth@xxxxxxxxxxxxxxx
Cc: dbi-users@xxxxxxxx
Subject: Re: Strange error when doing insert into DB


Hi,
Which code do you want?Like the error says abt this path..

/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/DBD/Oracle.pm
So shall i give you the code of this?If not which code we want
...please tell me..

Regards,
-Hemlata Lalwani

----- Original Message -----
From: "Scott T. Hildreth" <shildreth@xxxxxxxxxxxxxxx>
To: "Hemlata Lalwani" <hemlata.lalwani@xxxxxxxxxxxx>
Cc: <dbi-users@xxxxxxxx>
Sent: Monday, February 20, 2006 9:35 PM
Subject: Re: Strange error when doing insert into DB


On Mon, 2006-02-20 at 21:08 +0530, Hemlata Lalwani wrote:
Hi,
Please give a look at below source code if this can help you:

This is Oracle.pm code, which is not your code that is in error.
I'm sorry if you cannot send your actual code, I can't show where
to fix your code.


package DBD::Oracle::db; # ====== DATABASE ======
use strict;

sub prepare {
my($dbh, $statement, @attribs)= @_;

# create a 'blank' sth

my $sth = DBI::_new_sth($dbh, {
'Statement' => $statement,
});

# Call Oracle OCI parse func in Oracle.xs file.
# and populate internal handle data.

DBD::Oracle::st::_prepare($sth, $statement, @attribs)
or return undef;

$sth;




Waiting for your help..Also wud like to know how i can add myself in
this

Go to the link below,

http://lists.cpan.org/showlist.cgi?name=dbi-users



list ..

Regards,
-Hemlata Lalwani

----- Original Message -----
From: "Scott T. Hildreth" <shildreth@xxxxxxxxxxxxxxx>
To: "Hemlata Lalwani" <hemlata.lalwani@xxxxxxxxxxxx>
Cc: <dbi-users@xxxxxxxx>
Sent: Monday, February 20, 2006 8:59 PM
Subject: RE: Strange error when doing insert into DB


On Mon, 2006-02-20 at 20:05 +0530, Hemlata Lalwani wrote:
Hi,
Iam also having the same problem..the piece of code is as
below:

I'm sorry I don't know what this is referring to?


DBD::Oracle::st::_prepare($sth, $statement, @attribs)
or return undef;

Are you coding it this way or is this coming from a trace?

Can you post some code?


would really appreciate if you help me..

I would like to help, but I need more info or code to look at.
Also I am cc the dbi-users list, this is where these questions
should be asked.

Also The error i got in my qmail logs is

Can't mix placeholder styles (:foo/:1) at

Well you can't, I would need to see the $statemnet in order to
help.

/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/DBD/Oracl
e.pm
line
293.
Which i got when i insert the mail into databse..this mail
actually
bouced back...

Regards,
-Hemlata Lalwani
Hemlata Lalwani | Linux Administrator ( Systems ) I Webdunia.Com
(India) Pvt Ltd | 582 MG Road Indore MP | Work +91-731-398-3426
| Mobile +91-930-079-7948 I Fax +91-731-243-6615 |
www.webdunia.net


--
Scott T. Hildreth <shildreth@xxxxxxxxxxxxxxx>


--
Scott T. Hildreth <shildreth@xxxxxxxxxxxxxxx>



This electronic message transmission is a PRIVATE communication which contains
information which may be confidential or privileged. The information is intended
to be for the use of the individual or entity named above. If you are not the
intended recipient, please be aware that any disclosure, copying, distribution
or use of the contents of this information is prohibited. Please notify the
sender of the delivery error by replying to this message, or notify us by
telephone (877-633-2436, ext. 0), and then delete it from your system.

.



Relevant Pages

  • Res: RE: RE: Problems changing from 1.30 to 1.42
    ... With DBI 1.30 it works just it is: ... >>This electronic message transmission is a PRIVATE communication which contains ... >>intended recipient, please be aware that any disclosure, copying, distribution ... >>sender of the delivery error by replying to this message, or notify us by ...
    (perl.dbi.users)
  • RE: RE: Problems changing from 1.30 to 1.42
    ... >This electronic message transmission is a PRIVATE communication which contains ... >intended recipient, please be aware that any disclosure, copying, distribution ... >sender of the delivery error by replying to this message, or notify us by ...
    (perl.dbi.users)
  • RE: RE: DBI->Connect returning UNDEF in cgi but not in standalone prog
    ... You are returning undef. ... >This electronic message transmission is a PRIVATE communication which contains ... >intended recipient, please be aware that any disclosure, copying, distribution ... >sender of the delivery error by replying to this message, or notify us by ...
    (perl.dbi.users)
  • RE: RE: Problems changing from 1.30 to 1.42
    ... >This electronic message transmission is a PRIVATE communication which contains ... >intended recipient, please be aware that any disclosure, copying, distribution ... >sender of the delivery error by replying to this message, or notify us by ...
    (perl.dbi.users)
  • RE: make problem
    ... Perl may be copied only under the terms of either the Artistic License or the ... This electronic message transmission is a PRIVATE communication which contains information ... If you are not the intended recipient, please be aware that any disclosure, ... Please notify the sender ...
    (perl.dbi.users)