RE: Strange error when doing insert into DB
am 21.02.2006 16:59:14 von Ron.ReidySend 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@webdunia.com]=20
Sent: Monday, February 20, 2006 9:48 PM
To: shildreth@allantgroup.com
Cc: dbi-users@perl.org
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/O racle.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"
To: "Hemlata Lalwani"
Cc:
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)=3D @_;
> >
> > # create a 'blank' sth
> >
> > my $sth =3D DBI::_new_sth($dbh, {
> > 'Statement' =3D> $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=3Ddbi-users
>
>
>
> > list ..
> >
> > Regards,
> > -Hemlata Lalwani
> >
> > ----- Original Message -----
> > From: "Scott T. Hildreth"
> > To: "Hemlata Lalwani"
> > Cc:
> > 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=20
> > > help.
> > >
> > > > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/DBD/O racl
> > > > 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=20
> > > > | Mobile +91-930-079-7948 I Fax +91-731-243-6615 |=20
> > > > www.webdunia.net
> > > >
> > > >
> > > --
> > > Scott T. Hildreth
> > >
> >
> --
> Scott T. Hildreth
>
This electronic message transmission is a PRIVATE communication which =
contains
information which may be confidential or privileged. The information is =
intended=20
to be for the use of the individual or entity named above. If you are =
not the=20
intended recipient, please be aware that any disclosure, copying, =
distribution=20
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.