| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Inserting into nested object lists
create type obect_type as (
colum_one varchar(80) column_two varchar(80)
create type object_type_list as table of object_type
then we used the object_type_list as a colum in a table We would like to insert values into this object for certain records in the table. The following did not work? Does anyone have any suggestions?
insert into THE (
SELECT c.table_column_name
FROM table c
WHERE c.primary_key = 3
)
values( object_type('abc','ABC','intermediate'))
Error message: ORA-22908: reference to NULL table value
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Wed Nov 22 2000 - 15:56:50 CST
![]() |
![]() |