Help for this page

Select Code to Download


  1. or download this
      my $sql = qq {
        INSERT INTO peck_test
        VALUES ( ?,?,? )
        RETURNING my_id INTO ?
      };
    
  2. or download this
      $sth->bind_param      (1, $id,  SQL_NUMERIC);
      $sth->bind_param      (2, $name, SQL_VARCHAR);
      $sth->bind_param      (3, $desc, SQL_VARCHAR);
      $sth->bind_param_inout(4, \$id,  SQL_NUMERIC);