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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: table creation

Re: table creation

From: A Gentleman and Scholar <sschultz_at_SNOOPY.46TG.AF.MIL>
Date: Thu, 16 Mar 1995 10:02:31 -0700
Message-Id: <9503162248.AA07527@alice.jcc.com>


RE: Export User tables...

In the EXPORT Utility you can select a table one at a time...

I had a need to export all tables in a certain naming convention. PM_xxxxxxx

I wrote this script to extract the tables and create a batch file to do the export from the command line.

After the file was spooled... I had to

chmod +x userexp

in order to make it executable on my SUN.

steve schultz
sschultz_at_snoopy.46tg.af.mil

spool userexp
select 'exp userid=userid/pw tables=('

||tablename||' ) file='
||tablename||'.exp log='
||tablename||'_exp.log'

from user_tables
where table_name like upper('&user_table') /

spool off

Received on Thu Mar 16 1995 - 17:49:03 CST

Original text of this message

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