Extract ODBC Data Source information
Posted
by Zack
on Stack Overflow
See other posts from Stack Overflow
or by Zack
Published on 2010-03-16T15:49:08Z
Indexed on
2010/03/16
15:51 UTC
Read the original article
Hit count: 172
I've gone through ODBC API searching for a function that can extract information of a data source. The closest I found is SQLDataSources that enumerates all data sources and gives you the DSN name/description.
But specifically I would to extract the TNS service name of an Oracle data source. This property appears in the registry under ServerName
but I found no way to access it through an API.
© Stack Overflow or respective owner