+ Reply to Thread
Results 1 to 3 of 3

Query Oracle DB using MS Excel

  1. #1
    Registered User
    Join Date
    06-11-2009
    Location
    Chennai
    MS-Off Ver
    Excel 2003
    Posts
    2

    Query Oracle DB using MS Excel

    Hi All,

    I need to retreive data from an Oracle DB from MS Excel 2003. That DB is present in a remote location, say in IP 123.212.122.33, with username "ppppsdf" and password "asdf" and DB name "NE".

    My questions are:
    1. how should i connect the DB?
    2. after connection how should I establish a query?


    -thanks

  2. #2
    Forum Contributor
    Join Date
    04-16-2009
    Location
    Stellenbosch, South Africa
    MS-Off Ver
    Excel 2003; Excel 2007; Excel 2010; Excel 2013
    Posts
    136

    Re: Query Oracle DB using MS Excel

    You should probably be using ADO although I'm not sure what the correct connection string would be.

    There's an article here that shows to how return data from a database, although again it is not tailored to Oracle DB's. http://www.xtremevbtalk.com/showthread.php?t=217783

    It does however demonstrate how to pass a simple plain text SQL string and then return the recordset to a range in an Excel workbook using ADO.

    Good luck!
    Last edited by JONvdHeyden; 06-29-2009 at 05:43 AM.
    Regards

    Jon (Excel 2003, 2007, 2010, 2013)

  3. #3
    Forum Contributor
    Join Date
    04-16-2009
    Location
    Stellenbosch, South Africa
    MS-Off Ver
    Excel 2003; Excel 2007; Excel 2010; Excel 2013
    Posts
    136

    Re: Query Oracle DB using MS Excel

    This may well help you build the connection string: http://www.connectionstrings.com/oracle

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1