Help for this page

Select Code to Download


  1. or download this
    $dbh->do(
       'UPDATE INV SET SALESMAN = ? WHERE CODE = ?',
       undef, $SALESMAN, $CODE,
    );
    
  2. or download this
    my $dbh = DBI->connect(
       $data_source, $username, $pass,
       {RaiseError => 1},
    );
    
  3. or download this
    my $updy="Y";
    $dbh->do("UPDATE INV SET SOLD=$updy  ... ");
    
  4. or download this
    $dbh->do("UPDATE INV SET SOLD='$updy'  ... ");
    
  5. or download this
    $dbh->do("UPDATE INV SET SOLD = ? WHERE CODE = ?", undef,$updy,$CODE);