ymw1
asked on
SQL Server Direct Access
Right now, I'm using CDatabase & CRecordset for ODBC programming. But that's require that ODBC DSN must be set.
Is there anyway that we can directly retrieve recordset from the SQL server without setting the DSN?
Thanks
Is there anyway that we can directly retrieve recordset from the SQL server without setting the DSN?
Thanks
ASKER
Becos I have hundreds of client PCs! And I have to use MFC C++ :(
And the client applications need to connect to the SQL server.....
And the client applications need to connect to the SQL server.....
This means to you installing DSN on every client?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yes, there is really another way to access the SQL Server. Directly call it through it's TCP/IP or namepipe protocol.
There's no open document for this. You need to try it yourself.
I do not know why you can not use DSN?