Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> insert into table .... values....
Hi lists
how to do the folloiwng inserts into a table?
table xyz has col1,col2, col3.
I need to populate the values to col1 from table dummy1 (cola)
col2 table dummy2(colb) col3 table dummy3(colc).
there is no relation between dummy1 , dummy2, dummy3. We cannot join these tables.
can I insert data into xyz in a single shot.
is there anything like
insert into xyz values((select cola from dummy1 where....),
(select colb from dummy2 where....), (select colc from dummy3 where.... ) );
srinivas.
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Tatireddy, Shrinivas (MED, Keane)
INET: Shrinivas.Tatireddy_at_med.ge.com
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Aug 29 2001 - 23:52:40 CDT
![]() |
![]() |