pavunkumar has asked for the wisdom of the Perl Monks concerning the following question:
Hi all ,
Now , I have fetched the 5 rows from the statement handler ( $sth .Now I want to get back $sth reference pointer to 1th row.....
Actually I have executed the postgres query, assume that it has return the 10 rows. Now I am having that's statement handler ( $sth ) .
print Dumper $sth->fetchrow_arrayref; print Dumper $sth->fetchrow_arrayref; print Dumper $sth->fetchrow_arrayref; print Dumper $sth->fetchrow_arrayref; print Dumper $sth->fetchrow_arrayref;
Now , I have fetched the 5 rows from the statement handler ( $sth .Now I want to get back $sth reference pointer to 1th row.....
What should I do....?
Thanks
Back to
Seekers of Perl Wisdom