This post explains how to connect to an Oracle database using the OLE DB connector and a tnsnames.ora file.Download the latest version of the Oracle D...
Show More
This post explains how to connect to an Oracle database using the OLE DB connector and a tnsnames.ora file.
- Download the latest version of the Oracle Database Client for Windows (x64). You can use this link or Google it.
- Unzip the file and double-click on setup.exe.
- Select custom installation and follow the installation instructions.
![1.png 1.png](https://community.qlik.com/t5/image/serverpage/image-id/6790i95646E03604EBF18/image-size/medium?v=v2&px=400)
- Choose an intallation folder (E.g., C:\oracle).
![2.png 2.png](https://community.qlik.com/t5/image/serverpage/image-id/6793i2594FECCE8472D2D/image-size/medium?v=v2&px=400)
- Select components Oracle Net, Oracle ODBC Driver and OLE DB.
![3.png 3.png](https://community.qlik.com/t5/image/serverpage/image-id/6794i84928ABF9AAAB7A2/image-size/medium?v=v2&px=400)
- Click on Next and finish the installation.
- Type environment variables in Windows' search bar and open the app. Then, click on Environment variables.
![4.png 4.png](https://community.qlik.com/t5/image/serverpage/image-id/6797iCB85D6F4F1882682/image-size/medium?v=v2&px=400)
- Create a user variable named TNS_ADMIN and set its value to the path of the folder where your tnsnames.ora file is located.
![5.png 5.png](https://community.qlik.com/t5/image/serverpage/image-id/6799i926CE352E338D204/image-size/medium?v=v2&px=400)
- Open Qlik Sense and create a new OLE DB connection. In the Data Source textbox, type the name of the connection as it is in the tnsnames.ora file.
![6.png 6.png](https://community.qlik.com/t5/image/serverpage/image-id/6800i7A6E56D61A5ABE37/image-size/medium?v=v2&px=400)
Show Less