Here is a snippet of my OR schema:
CREATE TYPE artist_table_type AS TABLE OF REF artist_type; / CREATE TYPE track_type AS OBJECT ( title VARCHAR(1000), duration INT, release_date DATE, producers artist_table_type, MEMBER FUNCTION getProducers RETURN artist_table_type, MEMBER FUNCTION getRemixers RETURN artist_table_type ); / CREATE TABLE track_obj_table OF track_type;
When I try to run this, I get an error:
CREATE TABLE track_obj_table OF track_type * ERROR at line 1: ORA-22913: must specify table name for nested table column or attribute
I suspect this is due to the type of table in the track_type object?
source share