Hello,
i am converting oracle code into DB2 and at one place they are using union with table type
this code i get in ORACLE
AND I NEED TO CONVERT..please help me out...
i am converting oracle code into DB2 and at one place they are using union with table type
Code:
ORACLE ex:- declare l_out1 pgty_type.tabletype_name; l_out2 pgty_type.tabletype_name; l_out3 pgty_type.tabletype_name; begin select ...bulk collect into l_out1 from table_name ; select ...bulk collect into l_out2 from table_name(same tale) ; l_out3 :=l_out1 multiset union l_out2; ---HERE I STUCK end;
AND I NEED TO CONVERT..please help me out...