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: How to write table data to a flat file?

Re: How to write table data to a flat file?

From: Rachel Carmichael <carmichr_at_hotmail.com>
Date: Mon, 06 Nov 2000 15:27:32 GMT
Message-Id: <10672.121209@fatcity.com>

  1. Use SQL*Plus to format the output, and then spool the results to a flat file.
  2. if the linesize is too wide, you can also write a PL/SQL procedure to read the data, format it and write it to a spooled flat file using dbms_output
  3. if the number of characters output will be > 1M, you can write the PL/SQL program as above but use utl_file to write the output to a flat file

>From: "V Senthil Kumar" <"v_senthil"@chennai.tcs.co.in>
>Reply-To: ORACLE-L_at_fatcity.com
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Subject: How to write table data to a flat file?
>Date: Mon, 06 Nov 2000 05:55:22 -0800
>
>
>
>Dear All,
>I have to write data from an oracle table to a flat file for viewing and
>printing. The data has to be formatted. What is the best possible way to do
>this. I am using oracle 8.04 and forms5.0 in my project.
>
>Thanks in advance
>
>V.Senthil
>
>
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: V Senthil Kumar
> INET: "v_senthil"@chennai.tcs.co.in
>
>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).



Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at Received on Mon Nov 06 2000 - 09:27:32 CST

Original text of this message

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