Solved

odbc connection string

Posted on 2014-11-20
3
128 Views
Last Modified: 2014-11-24
Hi,

  I need to find out the odbc connection string (including name of MS SQL database) from an System DSN Name visible in the ODBC Data Source Administrator. How can I do this?

This on a Windows 2008R2 machine and using 32 bit odbc data source.

Thanks
0
Comment
Question by:LuckyLucks
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
Michael Fowler earned 500 total points
ID: 40456218
Open C:\Windows\SysWOW64\odbcad32.exe (for 32 bit). Note that the default odbc data source connector in the start menu is the 64 bit version.

Select the data source and press the configure button

You will now be able to see all relevant information needed to build a connection string with plenty of articles here to help with that http://www.connectionstrings.com/
0
 

Author Comment

by:LuckyLucks
ID: 40458495
I dont want to build a connection string. I just want to view a pre-existing one. I fear doing the above will wipe out the existing field entries. Is that correct?
0
 
LVL 23

Expert Comment

by:Michael Fowler
ID: 40458857
No. The configure button allows you to edit the connection but if you do not make any changes and/or exit without saving then you will be fine
0

Featured Post

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question