this dumps core with 5.8.0 but works fine with 5.8.3. if i change the query to "select number_column from temp where id=?" both versions work fine. Any help regarding this issue?use strict; use DBI; my $id=41; my $twotask=$ENV{"TWO_TASK"}; my $dsn="dbi:Oracle:".$twotask; my $DBH=DBI->connect("$dsn",'hr','hr') or die "error \n".DBI->errstr; my $stmt="select varchar_column from temp where id=?"; my $sth=$DBH->prepare($stmt); $sth->execute($id)||die "Could not exec sql stmt\n"; my @row=$sth->fetchrow_array; print $row[0];
In reply to Perl DBI issue by xs2praveen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |