Help for this page

Select Code to Download


  1. or download this
    my $oh_update = $dbh->prepare("update sample_table set active = ? wher
    +e id < 10");
    
    ...
    my $rv4 = $oh_update->execute(1);
    my $rv41 = $oh_update->rows();
    print "4 - Should be none .... $rv4 $rv41\n";
    
  2. or download this
    1 - Should be none .... 9 9
    5 - Should be none .... 9 9
    2 - Should be nine .... 9 9
    3 - Should be nine .... 9 9
    4 - Should be none .... 9 9