Help for this page

Select Code to Download


  1. or download this
    my $xml = "<hubba><bubba></bubba></hubba>";
    
    ...
    $sth->bind_param(":xml", $xml, { ora_type => ORA_XMLTYPE } );
    
    $sth->execute;
    
  2. or download this
    my $sth = $dbh->prepare(<<sqlend);
     select id, xmltype.getclobval(xml) xml from abba where id = 1
    ...
    
    $sth->execute;