my $qry = "delete from my_table where id=?"; $dbh->do($qry, undef, $value_to_delete);