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 -> perl and long fields in oracle

perl and long fields in oracle

From: Rüdiger J. Schulz <r.schulz_at_berlin.de>
Date: Mon, 14 Dec 1998 20:15:23 +0000
Message-ID: <367571DB.CB4329CF@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 Mon Dec 14 1998 - 14:15:23 CST

Original text of this message

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