Help for this page

Select Code to Download


  1. or download this
    use DBD::Oracle qw(:ora_types);
    ...
    $sth->bind_param(1,$scode, ORA_NUMBER);
    or
    $sth->bind_param(1,$scode, ORA_VARCHAR2);
    
  2. or download this
    my $sql = 'SELECT ... FROM ... WHERE temperature = :temperature ...';
    ...
    $sth1->bind_param( ':temperature', $degree_celsius, ORA_NUMBER );