For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > July 2007 > Re: [PEAR] MDB2 insert BLOB field problem









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] MDB2 insert BLOB field problem
Justin Patrin

2007-07-24, 7:03 pm

On 7/24/07, Rosen <rosen@pernikinfo.com> wrote:
> Hi,
> I'm trying to insert into Oracle BLOB field with MDB2 package. I'm using
> prepared query ( prepare() & execute() ). The value for BLOB field I have in
> string variable. And I got an error:
> "Native message: ORA-01461: can bind a LONG value only for insert into a
> LONG column"
>
> Can someone help me with this?
>


You could try the LOB support instead.

--
Justin Patrin
Rosen

2007-07-25, 4:04 am


""Justin Patrin"" <papercrane@gmail.com> wrote in message
news:432beae0707241111wdd30b9sd17912c9d9
14d169@mail.gmail.com...
> On 7/24/07, Rosen <rosen@pernikinfo.com> wrote:
>
> You could try the LOB support instead.
>


You mean MDB2_LOB class?

Rosen

> --
> Justin Patrin

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com