Help for this page

Select Code to Download


  1. or download this
    my $deleteString = qq{
    delete from my_table
    where id = ?};
    
  2. or download this
    my $var = "12345";
    $dbh = DBI->connect
    ...
    
    $sth1 = $dbh->prepare($deleteString);
    $sth1->execute($var) or die "FAILED DELETION";