I have an oracle nested table as follows:
create table test_tab
(
Col1 VARCHAR,
Col2 VARCHAR,
Col3 VARCHAR,
Col4 Coltype,
PK(col1,col2,col3)
);
Coltype definition:
create type Coltype as varray(10) of Coltuple;
Coltuple definition:
create type remarktuple as object
(
ColX varchar,
Coly varchar,
Colz varchar
);
and i have inserted a single row
insert into test_tab values('A','B','C',Coltype(Coltuple('X','Y','Z'));
now, if i want to inserted Coltype(Coltupele('P','Q','R')) to the same A,B,C row, how can i do it??...
When i use a separate insert like insert into test_tab values('A','B','C',Coltype(Coltuple('P','Q','R')); , it is assuming it as a second insert and throwing error because of PK voilation.
Hope i have explained my requirement clearly. Thank you in advance.