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 data from oracle table to a flat file

Re: how to dump data from oracle table to a flat file

From: <holmesb_at_my-deja.com>
Date: 2000/08/11
Message-ID: <8n1mqk$4t4$1@nnrp1.deja.com>#1/1

In article <8mvcq9$l4a$1_at_news7.svr.pol.co.uk>,   "BvN" <van_niekerk_bernard_at_hotmail.com> wrote:
> Hi
>
> I wrote this script in about 15 mins and got it working once!!! Used
 it on
> a table that was 56 columns wide and +/-1000000 rows deep. Don't know
 if
> this is even the right version, but it was something along this
 lines.. It
> worked all right. If you can figure out what it does and how it works
 you
> can have it.
>

------------------------------------GrabBuilder-------------------------
----

> -------------
> -- GrabBuilder.sql Version 1.0
> --
> -- This script will build a script that has to be run to generate a
 script
> -- which has then to be run in order to generate an SQL*Loader File.
> --
> -- Bernard van Niekerk
> -- 01/08/2000
> --
> -- Modification History
> -- Uhu ... none
> --
>
> set echo off
> prompt -- Remember to execute the output from this script to capture
 the
> data
> prompt -- from the chosen database. The result from this result will
 then
> generate
> prompt -- the SQL*Loader file that can be used.
> prompt -- Ensure that your Screen Buffer Width in the Enviroment
 setting is
> BIG.(1000)
>
> ACCEPT TABLENAME CHAR PROMPT 'What is the TABLENAME = '
> ACCEPT WHERECLAUSE CHAR PROMPT 'What is the WHERE clause (enter->NULL)

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Fri Aug 11 2000 - 00:00:00 CDT

Original text of this message

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