Does anyone know how to set the host name attribute of the ODBC connection using the API?
I am using a blind login to a database. Unfortunately, the DBAs only see the one user id as being connected to the database. If you fill in the host name in the ODBC configuration with the user ID or machine name, the DBA can distinguish between the various connections. We are using C on a Windows platform. Does anyone know how to set the host name attribute of the ODBC connection using the API? Like SQLSetEnvAttr...?
Any help would be appreciated!
I am using a blind login to a database. Unfortunately, the DBAs only see the one user id as being connected to the database. If you fill in the host name in the ODBC configuration with the user ID or machine name, the DBA can distinguish between the various connections. We are using C on a Windows platform. Does anyone know how to set the host name attribute of the ODBC connection using the API? Like SQLSetEnvAttr...?
Any help would be appreciated!