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

iterating through all_tables

From: christopher lambert <cjlambert_at_llnl.gov>
Date: 5 May 2003 15:57:18 -0700
Message-ID: <1932d1c8.0305051457.3efca49@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?

Received on Mon May 05 2003 - 17:57:18 CDT

Original text of this message

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