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 -> Re: iterating through all_tables

Re: iterating through all_tables

From: Jim Kennedy <kennedy-down_with_spammers_at_attbi.com>
Date: Tue, 06 May 2003 02:18:08 GMT
Message-ID: <AXEta.747959$L1.212695@sccrnsc02>


Not sure why one would want to, but look at NDS(native dynamic sql or dbms_sql package)
Jim

-- 
Replace part of the email address: kennedy-down_with_spammers_at_attbi.com
with family.  Remove the negative part, keep the minus sign.  You can figure
it out.
"christopher lambert" <cjlambert_at_llnl.gov> wrote in message
news:1932d1c8.0305051457.3efca49_at_posting.google.com...

> I'd like to do the equivalent of a foreach loop with oracle. something
like this..
>
> foreach i (`select table_name from all_tables`)
> select * from $i;
> end
>
> does anyone know how to do this?
>
> - chris
Received on Mon May 05 2003 - 21:18:08 CDT

Original text of this message

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