in reply to Deleting Multiple MySQL Rows With DBI
Check the perldoc for DBI - this is off the top of my head.my $sth = $dbh->prepare("DELETE * FROM table WHERE message_id = ?"); while $i (@MESSAGE_IDS){ $sth->bind($i) $sth->execute(); # and so on ... }
|
---|