in reply to Re^4: Help on selecting and deleting many records in a DB.
in thread Help on selecting and deleting many records in a DB.

I would try something like:
my %ipH; my $sth = spi_query("SELECT * FROM data"); while (defined ($row = spi_fetchrow($sth))) { delete fetched or hashed; }
but it's not tested.