Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> PL/SQL UNION ERROR : PLEASE HELP
Hello everybody,
I hope someone will help me on this one :
I have a PL/SQL stored procedure that tries to do something like that :
BEGIN
...
INSERT into table1(a, b) select T.x , T.y from ((SELECT m1 as x , m2 as y from M) UNION (SELECT n1 as x , n2 as y from N)) T;
The only time it worked was when I did some testing using only varchar2 type fields
I don't find any documentation on this behaviour.
If you have any clue, I would heavily apreciate.
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Wed Dec 15 1999 - 09:13:26 CST