Search notes:

Oracle: V$SQL_CURSOR

v$sql_cursor records information about each cursor that is currently active(?) in the current session (i.e. the session that is querying v$sql_cursor).

Join with V$SQLAREA

Join parent_handle with address of v$sql or v$sqlarea.
select
   cur.status,
   cur.child_pin,
   cur.pers_heap_mem,
   cur.work_heap_mem,
   cur.bind_vars,
   sql.sql_text
from
   v$sql_cursor cur                                         join
   v$sqlarea    sql on cur.parent_handle = sql.address
;
Github repository oracle-patterns, path: /Installed/dynamic-performance-views/sql/cursor/join-sqlarea.sql

See also

v$open_cursor
Oracle Dynamic Performance Views

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...', 1758204645, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/installed/dynamic-performance-views/sql/cursor/index(59): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78