![]() |
|
more useful options | |
PerlMonks |
Re: Going to first record on a record set in DBIby edan (Curate) |
on Jul 21, 2003 at 12:58 UTC ( #276246=note: print w/replies, xml ) | Need Help?? |
Not to denigrate the previous replies to this question, and I might be just plain wrong, but it seems to me that the question being asked hasn't been answered. I think the OP wants to loop over each row in one record set for each row in another record set. I would do the following to accomplish this, as illustrated by the following UNTESTED code snippet:
Of course, if the first record set is very large, you'll run into memory problems. If that's the case, then you might be able to use cursors, depending on whether your DB supports it... HTH --3dan
In Section
Seekers of Perl Wisdom
|
|