Search notes:

Oracle: DBMS_UTILITY - COMMA_TO_TABLE / TABLE_TO_COMMA

set serveroutput on
declare
   arr       dbms_utility.uncl_array;
   cnt       binary_integer;
begin
   dbms_utility.comma_to_table('foo,bar,baz', cnt, arr);
   for i in 1 .. cnt loop
      dbms_output.put_line(arr(i));
   end loop;
end;
/
declare
   arr       dbms_utility.uncl_array;
   txt       varchar2(4000);
   cnt       binary_integer;
begin
   arr(1) := 'Foo';
   arr(2) := 'Bar';
   arr(3) := 'Baz';
   
   dbms_utility.table_to_comma(arr, cnt, txt);

   dbms_output.put_line(txt);
end;
/

See also

Turn a comma separated value to a table using json_table.
dbms_utility

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:51 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(51): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(66): id_of(Object(PDO), 'uri', '/notes/developm...') #2 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758207380, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #3 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/installed/packages/dbms/utility/api/comma_to_table-table_to_comma(64): insert_webrequest() #4 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 51