my $dbh = DBI->connect(); my $sth1 = $dbh->prepare( $sql_a ); my $sth2 = $dbh->prepare( $sql_b );
$sth1->execute;
$sth2->execute;
while ( my ($id) = $sth1->fetchrow_array ) {
$sth2->execute( $id )
}
# is it possible ?
my $dbh = DBI->connect(); my $sth1 = $dbh->prepare( $sql_a ); my $sth2 = $dbh->prepare( $sql_b );
$sth1->execute;
$sth2->execute;
while ( my ($id) = $sth1->fetchrow_array ) {
$sth2->execute( $id )
}
# is it possible ?