note
Samy_rio
<p>I assigned the LongReadLen value like below and also i got the exact length, eventhough i am getting the same error.</p>
<code>
my $new_sql = <<EOS;
select <col_name> from <table_name>
EOS
$dbh->{LongReadLen} = $dbh->selectrow_array(qq{
SELECT dbms_lob.getlength(<col_name>)
FROM <table_name>
});
print "CLOB Length: ".$dbh->{LongReadLen};
my $sth = $dbh->prepare($new_sql);
$sth->execute();
my @rows;
while(my $cols = $sth->fetchrow_hashref()) {
push(@rows, $cols);
}
$sth->finish();
</code>
<p>Anything wrong in that?</p>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-460657">
<p>Regards,<br>Velusamy R.<hr><c>eval"print uc\"\\c$_\""for split'','j)@,/6%@0%2,`e@3!-9v2)/@|6%,53!-9@2~j';</c></p>
</div></div>
760835
760838