tadman has asked for the wisdom of the Perl Monks concerning the following question:
I'm not making it past the $s->execute() statement, and I don't want to make a trip to RAM Depot® for a bulk purchase.use DBI; # (Init w. AutoCommit=>1 occurs here) # Prepare the SELECT statement... my ($s) = $db->prepare ("SELECT * FROM table"); # ...and run it. my ($s_rv) = $s->execute(); # Wait patiently, run out of RAM... # Presumably, should be able to fetch data and use it here: while (my @row = $s->fetchrow_array()) { ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBI + 'SELECT *' - Memory Use Galore?
by kschwab (Vicar) on Feb 17, 2001 at 03:55 UTC | |
by tadman (Prior) on Feb 18, 2001 at 10:51 UTC | |
|
Re: DBI + 'SELECT *' - Memory Use Galore?
by runrig (Abbot) on Feb 17, 2001 at 02:28 UTC | |
by tadman (Prior) on Feb 17, 2001 at 03:06 UTC | |
|
(ichimunki) Re: DBI + 'SELECT *' - Memory Use Galore?
by ichimunki (Priest) on Feb 17, 2001 at 02:16 UTC | |
|
Re: DBI + 'SELECT *' - Memory Use Galore?
by xeridon (Initiate) on Feb 17, 2001 at 23:59 UTC | |
by tilly (Archbishop) on Feb 18, 2001 at 00:16 UTC |