anjaana78 has asked for the wisdom of the Perl Monks concerning the following question:
i want that all the rows be executed and even if some of the queries get errors. thank you. - faaizwhile( $row = $select_handle->fetchrow_hashref)#getting row from some +other query { $handle = $syb_handle->prepare($query) or die "Unable to prepare sat +ement"; $handle->execute or die "Unable to execute query"; $allrows = $handle->fetchall_arrayref(); my($i, $j); for $i ( 0 .. $#{$allrows} ) { for $j ( 0 .. $#{$allrows->[$i]} ) { print $allrows->[$i][$j]; }#ending $j print "\n"; }#ending the $i }#ending while
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: multiple queries:
by tinman (Curate) on May 17, 2001 at 21:25 UTC | |
|
Re: multiple queries:
by Anonymous Monk on May 17, 2001 at 21:32 UTC | |
|
Re: multiple queries:
by Anonymous Monk on May 17, 2001 at 21:44 UTC | |
|
Re: multiple queries:
by busunsl (Vicar) on May 18, 2001 at 09:41 UTC |