Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> dynamically query mutiple tables

dynamically query mutiple tables

From: Peter Parker <spiderman_at_home.com>
Date: Mon, 12 Feb 2007 23:35:42 -0500
Message-ID: <bgbAh.34254$IL1.14717@newsfe13.lga>


Is it possible to use pl/sql script to dynamically query all the tables owned by a user with a select statement and flag the query that yield result? For example, I like to apply the following statement:

select * from [table_name] where id = 'some_id'

to all tables and out put the table_name(s) that satisfies the query. Please help. Thanks Received on Mon Feb 12 2007 - 22:35:42 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US