[unixODBC-support] SQL_INVALID_HANDLE error

Marshall Wood donkieonthehead at gmail.com
Thu Apr 20 17:54:47 BST 2006


What is it?????

I think it might have something do with my connection string, but I am
unsure if that is true.


char szDSN[] = "ODBC:FILETDS";
retcode = SQLConnect(hDbConn, (UCHAR *)szDSN, SQL_NTS, (UCHAR *)szUID,
SQL_NTS, (UCHAR *) szAuthStr, SQL_NTS);

I have tried

char szDSN[] = "FILETDS";
retcode = SQLConnect(hDbConn, (UCHAR *)szDSN, SQL_NTS, (UCHAR *)szUID,
SQL_NTS, (UCHAR *) szAuthStr, SQL_NTS);

I'm running out of places to ask :)




More information about the unixODBC-support mailing list