Search notes:

ORA-62569: nested polymorphic table function is disallowed

create or replace package tq84_ptf_pkg authid definer as

   function describe(tab in out dbms_tf.table_t) return dbms_tf.describe_t;
end tq84_ptf_pkg;
/

create or replace package body tq84_ptf_pkg as

   function describe(tab in out dbms_tf.table_t) return dbms_tf.describe_t
   is begin
      return null;
   end describe;

end tq84_ptf_pkg;
/


create or replace function tq84_ptf(tab table) return table pipelined row polymorphic using tq84_ptf_pkg;
/
This works:
select * from tq84_ptf(dual);
This throws ORA-62569: nested polymorphic table function is disallowed
select * from tq84_ptf(tq84_ptf(dual));
Nesting of PTFs is indirectly possible using the with clause:
with a as (select * from tq84_ptf(dual))
select * from tq84_ptf(a);

See also

Polymorphic table functions
Other Oracle error messages

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...', 1758207257, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/errors/ORA-62569_nested-polymorphic-table-function-is-disallowed(69): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78