Re: Find Underlying Table From Merge Table?
This probably works without the need of MERGE table but need to write longer query.
SELECT 'Table_1',* FROM Table_1 WHERE name = "Joe"
UNION
SELECT 'Table_2',* FROM Table_2 WHERE name = "Joe"
UNION
SELECT 'Table_3',* FROM Table_3 WHERE name = "Joe"
The other possibility is to add a column in all the tables to keep the table number.
Subject
Views
Written By
Posted
8368
March 06, 2006 12:00PM
Re: Find Underlying Table From Merge Table?
5091
March 06, 2006 06:48PM
4541
January 27, 2007 07:19AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.