Search notes:

Oracle: EXTRACTVALUE

extractvalue applies an XPath expression to an XMLType and returns a scalar value.
select
   extractValue(
     XMLType(
'<R>
   <e id="1">one</e>
   <e id="2">two</e>
   <e id="3">three</e>
</R>')
        ,
  '/*/e[@id="2"]') id_2
from
   dual

See also

ORA-00932: inconsistent datatypes: expected - got -
XML related SQL functions

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1759428489, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/SQL/functions/XML/extractvalue(53): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78