Solved

SQL connection test

Posted on 2014-01-29
2
241 Views
Last Modified: 2014-02-24
Here is what I am trying to do - -

I have an ODBC connection setup on some computers with a manual password entered.  The password changed recently and the connection should not be working but I see no difference in the performance of the program.

I would like to test the ODBC connection in its current state without entering  the correct username and password.  I know it should fail and if I enter the old password in the ODBC connection settings and then test the connection it does fail.  But I would like to just prove the current connection state is invalid without changing anything.

Everything I find points to me entering the username and password to test the connection.  I figured I would ask the community to see if their is any way I can do it without manually entering the data and just using the currently stored settings.
0
Comment
Question by:Sean Meyer
2 Comments
 
LVL 16

Assisted Solution

by:Surendra Nath
Surendra Nath earned 250 total points
ID: 39818937
ok, where you want to prove it as invalid

in a c# code,
in a rational robot vb script
in a powershell code...

Let us know where you are coding and we will let you know how you can prove it .
0
 
LVL 35

Accepted Solution

by:
David Todd earned 250 total points
ID: 39819438
Hi,

On the SQL 2000 media is a program called odbcping. To install this just copy the file from the media. You may need to rename the extension to .exe.

This is a perfect tool to exercise odbc dsn's.

HTH
  David
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

User Beware!  This is a rather permanent solution to removing your email from an exchange server.  The only way to truly go back is to have your exchange administrator restore your mailbox from backups.  This is usually the option of last resort.  A…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now