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 ... }
In reply to Re: Deleting Multiple MySQL Rows With DBI
by Odud
in thread Deleting Multiple MySQL Rows With DBI
by Red Neckerson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |