This article was written by Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for wikiHow. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions.
This article has been viewed 62,785 times.
This wikiHow teaches you how to connect an Excel workbook to an Oracle database using Power Query.
Steps
-
1Open your workbook in Microsoft Excel. Excel comes with a feature called Power Query (also called Get & Transform) that makes it easy to connect to an Oracle database.[1]
-
2Click the Data tab. It’s at the top of the screen.
-
3Click Get Data. If you don’t see this option, click New Query instead.
-
4Click From Database.
-
5Click From Oracle Database.
-
6Enter the Oracle server name into the ″Oracle Database″ box. This should be the host name or address of the server that hosts your database.
- If the database requires an SID, use this format to type the server name/address: servername/SID.[2]
-
7Enter a native database query (optional). If importing data from the database requires a specific query, expand the ″SQL Statement″ box by clicking the small triangle, and then type the statement.[3]
-
8Click OK. This saves your options and initiates a connection to the database.
-
9Log into the database. If the database requires you to log in, enter your username and password, and then click Connect. This connects the workbook to the database.
- Depending on your settings, you may also have to choose an authentication method.
- If you entered a native database query, the results will appear in a Query Editor window.
References
- ↑ https://support.office.com/en-us/article/connect-to-an-oracle-database-power-query-d7fbd231-a705-4eb7-83b3-a66bfb678395
- ↑ https://support.office.com/en-us/article/connect-to-an-oracle-database-power-query-d7fbd231-a705-4eb7-83b3-a66bfb678395
- ↑ https://support.office.com/en-us/article/import-data-from-database-using-native-database-query-power-query-f4f448ac-70d5-445b-a6ba-302db47a1b00
About This Article
1. Click Data.
2. Click Get Data.
3. Click From Database.
4. Click From Oracle Database.
5. Enter the server name.
6. Enter a query (optional).
7. Click OK.
8. Log in to the database.



























































