Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Adding rows from two tables into a new table.
I have two table that I want to add the rows together into one table.
Example
table1:
table2
Then I want to end up with a table that has all four rows in it like
this.
tableresult:
I can acomplish this by creating a temporary table and select into it.Or having a permanet table that I truncate everytime I execute the process. I am using a the tableresult as a virtual table in a cursor. So I am trying to avoid the use of temporary tables. Can something like this be done in a select statement.
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Sat Oct 02 1999 - 12:11:01 CDT