Comments on: Returning a Ref Cursor based on a PL/SQL Collection https://technology.amis.nl/2005/09/27/returning-a-ref-cursor-based-on-a-plsql-collection/ Friends of Oracle and Java Wed, 24 Jun 2015 09:59:44 +0000 hourly 1 http://wordpress.org/?v=4.2.2 By: Gauss https://technology.amis.nl/2005/09/27/returning-a-ref-cursor-based-on-a-plsql-collection/#comment-2472 Thu, 04 Mar 2010 23:38:57 +0000 /?p=815#comment-2472 Do you know how to do the same thing but with a collection which uses a local (PL/SQL) type definition? I get the error ORA-00902: invalid datatype. If I try without the cast operator (which worked just fine also with an SQL type) then I get PLS-00642: local collection types not allowed in SQL statements.

]]>
By: firefight https://technology.amis.nl/2005/09/27/returning-a-ref-cursor-based-on-a-plsql-collection/#comment-2471 Fri, 30 Jun 2006 04:12:59 +0000 /?p=815#comment-2471 Nice code snippet. I don’t know why Oracle has restrictions on the Cast so that you can’t use types declared in packages…

]]>