Corion++ Sybase will fail if you finish an sth when there are unread results. You can override that by setting the syb_flush_finish attribute
but that wouldn't be my recommendation. I find most cases of extracting data are better suited by using selectall_arrayref. Sure you lose the re-usability of prepared statements (I only used those if I'm in a loop) and you may have memory issues if the data being returned is huge but I find the vast majority of my use cases are better served by the simplicity of selectall_arrayref:my $prod_dbh = DBI->connect_cached('DBI:Sybase:database','web_','web +' {syb_flush_finish => 1})
my $parent_data = $prod_dbh->selectall_arrayref('select * from table + where id = ?', {Slice => {}}, $id );
In reply to Re^4: Perl DBI connect cached still active
by derby
in thread Perl DBI connect cached still active
by newperldeveloper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |