Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
# Send our query my $sth = $dbh->query("SELECT clause here;"); # Iterate through the returned rows my @arr = (); while (@arr = $sth->fetchrow) { do whatever } - now I want to get back to the first row of the record set - how do I + do it?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: sql record sets
by tadman (Prior) on Sep 15, 2002 at 22:11 UTC | |
by pope (Friar) on Sep 16, 2002 at 08:30 UTC | |
Re: sql record sets
by FoxtrotUniform (Prior) on Sep 15, 2002 at 22:45 UTC | |
by pope (Friar) on Sep 16, 2002 at 07:45 UTC | |
by Flexx (Pilgrim) on Sep 16, 2002 at 17:15 UTC | |
Re: sql record sets
by pope (Friar) on Sep 16, 2002 at 08:04 UTC |