+ Reply to Thread
Results 1 to 6 of 6

Connect to Oracle PL/SQL in excel

  1. #1
    Forum Contributor
    Join Date
    07-04-2018
    Location
    Dallas
    MS-Off Ver
    MS 365 Version 2302
    Posts
    209

    Connect to Oracle PL/SQL in excel

    Hi,

    I'm trying to connect to PL/SQL and get view result in excel. I do not have ODBC set up due to some issue. Is there any other way to connect to PL/SQL in excel.

    Thanks in advance

  2. #2
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Connect to Oracle PL/SQL in excel

    Hi there,

    It should be quire possible using ADO (or DAO presumably, but I stick to the newer ADO). I have no experience with Oracle, though in principle aside from the connection string, it should be similar to what I do with mySQL and Access databases. This link may help get you started: https://stackoverflow.com/questions/...nsde-excel-vba
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  3. #3
    Forum Contributor
    Join Date
    07-04-2018
    Location
    Dallas
    MS-Off Ver
    MS 365 Version 2302
    Posts
    209

    Re: Connect to Oracle PL/SQL in excel

    I tried to use ADODB with Provider as 'ORAOLEDB.ORACLE' which gave 'Run time error 3706'.

    I do not have Oracle client installed in my system. Please let me know if we can use ORAOLEDB with out having oracle client installed.

    Else, do we have any other method to retrieve data from oracle table in excel

    Thanks in advance

  4. #4
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Connect to Oracle PL/SQL in excel

    You don't need the Oracle client, but will need to find the Oracle ODBC driver. The version may well depend on the Oracle version being used, so I'm afraid that I can't provide a link without knowing your full setup, but googling oracle odbc driver should give you various results, including Oracle.com

  5. #5
    Forum Contributor
    Join Date
    07-04-2018
    Location
    Dallas
    MS-Off Ver
    MS 365 Version 2302
    Posts
    209

    Re: Connect to Oracle PL/SQL in excel

    Hi,

    I do not have Oracle ODBC driver as well. I use Oracle SQL developer version 4.1.0 to run queries.

    I'm looking for an option to connect to sql developer from excel and retrieve result.

    I could not create ODBC connection as it gave me error as 'Oracle tm components are missing'

  6. #6
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Connect to Oracle PL/SQL in excel

    I realize you don't have the ODBC driver BMD4, but you should be able to download that through the Oracle website? It is usually a resource readily available (and free).

    However, you may also have to talk to your IT department, very often a password and username are required to log into these databases, perhaps you already have that info if you are running queries through another tool.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to connect Excel VBA to Oracle Database to get data.
    By hmanhha in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-22-2017, 09:42 PM
  2. Unable to connect from excel to Oracle db from local
    By smlim7 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-29-2013, 11:37 PM
  3. [SOLVED] code which will connect to Oracle DataBase
    By sawoodalam1989 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-30-2013, 11:47 PM
  4. What is the connect string between Oracle & Excel?
    By David Willis in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-02-2006, 10:35 PM
  5. [SOLVED] Connect to Oracle using Microsoft ODBC for Oracle
    By Kent in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-17-2006, 11:55 PM
  6. don't find my message : connect to oracle db (4.2. 19:39)
    By b geber in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-11-2005, 08:06 AM
  7. connect to an oracle db
    By b geber in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-04-2005, 04:06 PM

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