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: Export from sql plus

Re: Export from sql plus

From: Jonathan Gennick <jonathan_at_gennick.com>
Date: Mon, 18 Jun 2001 16:32:35 -0700
Message-ID: <F001.0032DF32.20010618163534@fatcity.com>

I wouldn't use the term "export", because it's too easily confused with the real export utility, but you can write the output of a query to a file:

SET PAGESIZE 0
SET LINESIZE 999
SPOOL output.txt
SELECT * FROM your_table
SPOOL OFF Best regards,

Jonathan Gennick
mailto:jonathan_at_gennick.com * 906.387.1698 http://Gennick.com * http://MichiganWaterfalls.com * http://MetalDrums.org

Monday, June 18, 2001, 6:10:54 PM, Mark wrote: ML> Is it possible to export the whole content of a table to a file. If is it , ML> what is the command to do this?

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Jonathan Gennick
  INET: jonathan_at_gennick.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Mon Jun 18 2001 - 18:32:35 CDT

Original text of this message

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