Wednesday, January 9, 2019

Connect to an Oracle database (Power Query)

Connect to an Oracle database (Power Query)

Use Excel's Get & Transform (Power Query) experience to connect to an Oracle database.

Note: Before you can connect to an Oracle database using Power Query, you need the Oracle client software v8.1.7 or greater on your computer. To install the Oracle client software, go to 32-bit Oracle Data Access Components (ODAC) with Oracle Developer Tools for Visual Studio (12.1.0.2.4) to install the 32-bit Oracle client, or to 64-bit ODAC 12c Release 4 (12.1.0.2.4) Xcopy for Windows x64 to install the 64-bit Oracle client.

Click on the Data tab, then Get Data > From Database > From Oracle Database. If you don't see the Get Data button, then click New Query > From Database > From Oracle Database.

In the Power Query ribbon tab, click From Database > From Oracle Database.

Power Query From Database options

Next

  1. In the Oracle Database dialog box, in Server Name specify the Oracle Server to connect to. If a SID is required, this can be specified in the form of "ServerName/SID".

  2. If you want to import data using native database query, specify your query in the SQL Statement box. For more information, see Import Data from Database using Native Database Query.

  3. Click OK.

  4. If the Oracle server requires database user credentials:

    1. In the Access a Database dialog box, enter your username and password.

    2. Click Connect.

Need more help?

You can always ask an expert in the Excel Tech Community, get support in the Answers community, or suggest a new feature or improvement on Excel User Voice.

See Also

Power Query is known as Get & Transform in Excel 2016

Import data from external data sources

No comments:

Post a Comment