| title | Quickstart: Connect and explore Oracle databases |
|---|---|
| description | Do a quickstart in which you use Azure Data Studio to connect to Oracle database and explore the objects. |
| ms.prod | azure-data-studio |
| ms.technology | azure-data-studio |
| author | tdoshin |
| ms.author | timioshin |
| ms.reviewer | maghan |
| ms.topic | quickstart |
| ms.custom | |
| ms.date | 10/4/2021 |
This quickstart shows how to use Azure Data Studio to connect to Oracle database and explore existing database objects.
Note
Currently extension provides a read-only view of the database objects. Running queries is not supported.
To complete this quickstart, you need Azure Data Studio and access to Oracle database.
-
Start Azure Data Studio.
-
The first time you run Azure Data Studio the Welcome page should open. If you don't see the Welcome page, select Help > Welcome. Select New Connection to open the Connection pane:
-
In the connection dialog, select Oracle as Connection type and fill in the following fields:
-
Data source: Enter server name, for example,
localhost:1521. Data source can be defined in three different ways: Easy Connect/Easy Connect Plus, TNS Alias or Connect Descriptor. For more information on the format of each method, please refer to the Oracle documentation on Data Source attribute of the ODP.NET connection string.[!NOTE] In order to use TNS Alias as a data source, make sure that
ORACLE_HOMEenvironment variable is set and TNSNAMES.ORA file is located in the<ORACLE_HOME>/network/adminfolder. -
User Id: User name for the Oracle database
-
Password: Password for the Oracle database
-
Server Group: <Default>
[!NOTE] Make sure that the Oracle database user used to connect has permissions to enumerate and access objects you are planning to explore. At least
CONNECTandSELECT ANY DICTIONARYpermissions should be granted to the connecting user. -
-
Click Connect to establish the connection.
After connection to the Oracle database is established, you will be able to navigate and explore existing database objects using Connections view:

