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: Move data from Oracle into Access

Re: Move data from Oracle into Access

From: Randy Kirkpatrick <randywk_at_usa.net>
Date: Thu, 15 Nov 2001 10:14:34 -0800
Message-ID: <F001.003C639F.20011115091032@fatcity.com>

As long as you're planning to keep it in Oracle, the ODBC method is the way to go. If you're trying to do something else where you need to physically move the data easily, then you can use a select statement to create a comma delimited file (quoted or not quoted). You can then easily use the Access tools to import the data. You'll need to concatenate the data as follows.

SELECT '"'||column_1||'","'||column_2||'","'||column_3||'","'||'",'

    FROM table
 WHERE this condition is met

This way you get exactly what you want in the format you want. You can change the order of the columns. order of the data, etc. based on your select statement.

Make sure you spool to a file and that your environment is set correctly to handle the amount of data.

Randy Kirkpatrick
Oracle DBA / SAP Basis Administrator
(303) 772-7467

> do you have an odbc connection? you can select directly from oracle
> into the ms access table.
>
>
> --- "Daiminger, Helmut" <Helmut.Daiminger_at_KirchGruppe.de> wrote:
> > Hi!
> >
> > What would be the easiest way to dump out an Oracle table and move it
> > into
> > Access? (approx. 100,000 rows) No flaming, please... ;)
> >
> > I assume that there is no tool for Access to read Oracle dmp-files,
> > right?
> >
> > Is spooling it out into an ASCII file (blanks or comma-seperated) the
> > only
> > way? I just need a single table (no refs or the like).
> >
> > Any ideas?
> >
> > This is 8.1.7 on Solaris.
> >
> > Thanks,
> > Helmut
> >
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Find the one for you at Yahoo! Personals
> http://personals.yahoo.com
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Rachel Carmichael
> INET: wisernet100_at_yahoo.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).
>
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Randy Kirkpatrick
  INET: randywk_at_usa.net

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 Thu Nov 15 2001 - 12:14:34 CST

Original text of this message

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