You can use the odbcping utility to check whether ODBC is properly installed by connecting to a server using the ODBC SQL Server driver. This utility is a 32-bit application that is stored in the \MSSQL\BINN directory. To verify ODBC connectivity, from a command prompt, type:
odbcping /Sservername /Ulogin_id /Ppassword
where
If the ODBC connection is established, this message is displayed:
CONNECTED TO SQL SERVER
If the ODBC connection cannot be established, this message is displayed:
COULD NOT CONNECT TO SQL SERVER
the following func
For more information about connecting to a data source, see Chapter 8, Functions: