Stupid newbie question?
- From: bench@xxxxxxxxxxxxxxx (Ben)
- Date: Fri, 23 Jun 2006 12:48:06 -0700 (PDT)
Hey guys, I'm very green at DBI stuff, so maybe this is a stupid question. But after going through the DBI man page and searching the web for a couple hours, I can't find the answer. All I'm looking to do is to walk the result set from a select statement more than once. Every example I can find follows the form:
prepare, execute, fetch, fetch, fetch, ..., finish
What I would *like* to be able to do is walk the entire result set, and then, once I get to the end, reset the statement handle to point the fetch calls back to the top, and then walk them again. That seems so simple. Is there really no "reset" command? Do I actually have to execute the select again?
.
- Follow-Ups:
- Re: Stupid newbie question?
- From: John Scoles
- Re: Stupid newbie question?
- From: Martin J. Evans
- Re: Stupid newbie question?
- Prev by Date: DBI/DBD::DB2
- Next by Date: RE: Stupid newbie question?
- Previous by thread: DBI/DBD::DB2
- Next by thread: Re: Stupid newbie question?
- Index(es):
Relevant Pages
|