Search notes:

Oracle: Nested tables

Storing a nested table in a table

In order to store a nested table in a table, the table must be created with the nested table … clause:
create type t as table of number;
/

create table y (tt t)
  nested table tt -- Prevent ORA-22913: must specify table name for nested table column or attribute
  store as tt_n return as locator;

See also

Filling a nested table with execute immediate.
collection type

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...', 1759561878, '216.73.216.149', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/PL-SQL/collection-types/nested-table/index(48): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78