Help for this page

Select Code to Download


  1. or download this
       UPDATE table SET foo = bar WHERE baz = boo
    
  2. or download this
       UPDATE table SET foo = 'bar' WHERE baz = 'boo'
    
  3. or download this
       my $sth = $dbh->prepare(
         qq|UPDATE $table SET $field = ? WHERE id = ?|
       );
       $sth->execute( $value, $record );