Search notes:

Oracle SQL: Turn a comma separated values into a table (using JSON_TABLE)

json_table can be used to turn a (horizontal) comma separated list of values into a (vertical) list or rows.

Numbers

select
   *
from
   json_table('[1,1,2,3,5,8,13,21]', '$[*]' columns (
      num number(2)  path '$[*]'
   ))
;
--
--        NUM
-- ----------
--          1
--          1
--          2
--          3
--          5
--          8
--         13
--         21

Strings

Using json_table, a comma-separated list (here: 'foo,bar,baz') can be turned into a vertical result set like so:
select * from json_table('["' || replace('foo,bar,baz', ',', '","') || '"]' ,
  '$[*]'
  columns nam varchar2(42) path '$[0]'
);
--
-- NAM
------
-- foo
-- bar
-- baz

See also

Predefined collection types for Oracle PL/SQL
dbms_utility: comma_to_table and table_to_comma.
Using txt.grep_re_pipelined to select from semicolon (or comma) separated values.
CSV

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...', 1758193729, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/SQL/functions/json/table/comma-separated-to-table(81): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78