Posted by: rbka...@hotmail.com (Kaimal)
Hi,
I am using SQLConnect to connect to a DSN which has non empty
UserId and Password.
The problem is that connection to database is success even when the
UserId is empty. The connection fails when the UserId is non empty and
invalid.
The reason for this is that when UserId is empty, it tries to
connect with default Login and Password for windows.
Is there any way to avoid this?
Can we use SQLSetConnectAttr in some way?
Any help would be appreciated
Thanks
Kaimal