Help with getting data from ODBC connection

Miro H

New Member
Joined
Mar 25, 2015
Messages
15
Office Version
  1. 365
Platform
  1. Windows
Hello,

I need help with creating ODBC connection in Excel.

I don't know anything about ODBC connections (and databases). I have received a set of parameters from my Administrator to try to connect with ODBC connection to report, in order to load (get & transform) data in Excel.

This is a new feature that Administrator is trying to provide so it has not been tested before and he doesn't know if it works. I'm helping with this because I'm familiar with Excel and Get & Transform.

These are the parameters that I've received from Administrator (altered for security reasons):

He said he created a view on a database (user1.database_name) and that I should try to connect with these parameters for ODBC

Username: user1
Password: pass1

Server: servername.x1.x2.x3
Port: 1521
Service name: servicename.x1.x2.x3
SID: servicename

I found the following page and tried to create connection string based on what I found there
Connect to an ODBC Data Source (SQL Server Import and Export Wizard) - SQL Server Integration Services (SSIS)

Get data - From other sources - From ODBC - Data source name (DSN) - I've tried all combinations (dBase File, Excel Files, MS Access Database, None) - and under Advanced I tried to create connection string

driver={SQL Server};server=servername.x1.x2.x3:1521;database=user1.database_name;

I get the following error:
Details: "ODBC: ERROR [08001] [Microsoft][ODBC SQL Server Driver][DBNETLIB]Invalid connection.
ERROR [01000] [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (ParseConnectParams())."

I've tried several options with driver, servername and database and get different kind of errors.

I need help in creating ODBC connection or help with communication with the Administrator if the parameters Administrator provided are not applicable for creating ODBC connection in Excel.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,215,106
Messages
6,123,122
Members
449,096
Latest member
provoking

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top