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

Home -> Community -> Usenet -> c.d.o.server -> Re: How to dump all tables belong to a user into multiple flatfiles

Re: How to dump all tables belong to a user into multiple flatfiles

From: godmann <allanwtham_at_yahoo.com>
Date: 7 Sep 2002 06:49:49 -0700
Message-ID: <95cd51c.0209070549.3512d82a@posting.google.com>

Mark,

I want the final .sql to look like this.

spool member.txt
select ltrim(rtrim(username)), ltrim(rtrim(id)), blah... from member;
spool off

spool tab2.txt
select ltrim(rtrim(col1)), ltrim(rtrim(col2)), blah... from tab2;
spool off

It's a little harder to achieve than selecting all cols using *.

Allan W. Tham Received on Sat Sep 07 2002 - 08:49:49 CDT

Original text of this message

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