Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Getting a REF to object in nested table.

Getting a REF to object in nested table.

From: Andrew Bono <andbon_at_auto-trol.nspam.com>
Date: 2000/05/12
Message-ID: <391C6371.B8725591@auto-trol.nspam.com>#1/1

Is it possible to get a reference to an object in a nested table?

this query:
select value(nv)
  from table (select nested_table

                from parent_table
               where some_value = 'something' )nv;

returns the values for the objects in the nested table. However, replacing "value" with "ref" results in an ORA 00904 "invalid column name" error on the first line.

thanks Received on Fri May 12 2000 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US