Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: perl and long fields in oracle

Re: perl and long fields in oracle

From: Bernhard Mandl <b.mandl_at_ping.at>
Date: Wed, 16 Dec 1998 17:36:47 +0100
Message-ID: <758nn1$2jq$1@fleetstreet.Austria.EU.net>


I have the same problem. It looks like oracle's ODBC driver is to blame. I can read NOTE fields (up to 32k) in Pervasive.SQL tables from perl but not oracle's long.

Please let me know if you find a fix.

Bernhard Mandl
(b.mandl_at_ping.at)

Rüdiger J. Schulz wrote in message <367571DB.CB4329CF_at_berlin.de>...
>how to read a long-field with perl ?
>
>Table: create table test ( id number(10), test long);
>Insert into test (id, test) values (1, 'xxxxxx ....'); -- -> more than
>2000 ascii-characters
>
>perl:
>...
>$dbh = DBI->connect(....);
>$query = "Select test from test";
>$sh = $dbh->prepare($query);
>$sh->execute;
>$row = $sh->fetchrow;
>print "$row\n";
>$sh->finish;
>$dbh->disconnect();
>...
>
>but nothing in $row !!!! No output!
>what´s wrong ???
>
>R.J. Schulz
>
Received on Wed Dec 16 1998 - 10:36:47 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US