Search notes:

Oracle: V$SQLTEXT_WITH_NEWLINES

v$sqltext_with_newlines contains the same data as v$sqltext, except that newlines are not replaced with spaces.
select /* tq84: v$sqltext_with_newlines */
  listagg(t.sql_text, '') within group (order by t.piece)
from
  v$sqlarea                a                          join
  v$sqltext_with_newlines  t on a.sql_id = t.sql_id
 where
  a.sql_text like '%tq84: v$sqltext_with_newlines %'
order by
  t.piece;
Github repository oracle-patterns, path: /Installed/dynamic-performance-views/sql/text_with_newlines/listagg.sql
select
  listagg(t.sql_text, '') within group (order by t.piece)
from
  v$sqltext_with_newlines t
where
  t.sql_id = '...';
Github repository oracle-patterns, path: /Installed/dynamic-performance-views/sql/text_with_newlines/sqlid-to-stmt.sql

See also

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...', 1758204822, '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/text_with_newlines/index(59): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78