in reply to DBD::Oracle - Cursor in Select
Of course, you could always just get your own cursor for each row:
Of course, anyone who's binding cursors probably already knows this :-Dmy $sth = $dbh->prepare("Select a, b from t1") or die "..."; $sth->execute or die "..."; while (my $row = $sth->fetchrow_arrayref) { my $cursor = $dbh->prepare("select d, e from t2 where k = ?"); $cursor->execute($row->[1]); # t1.b .... }
------------ :Wq Not an editor command: Wq
|
|---|