How can i get the path of the database which is in the ODBC
from an application
Printable View
How can i get the path of the database which is in the ODBC
from an application
If it's something like Access, have your app look up the DBQ value in the registry under the ODBC name you designated. Look in HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\(ODBC name)
If it's SQL Server, you'll only find the server name.