Hi all,
I am trying to access SQL Server 6.5 with ODBC 2.0 in C++.
I use SQLGetData command to pull data from the table. This command returns SQL_SUCCESS or SQL_ERROR based on the record. When I try to view the value of SQLSTATE when it is SQL_ERROR, it shows '00000', implying it is a success, but my SQLGETDATA command gives an error.
Does anyone know what is happening??
Shiva.
I am trying to access SQL Server 6.5 with ODBC 2.0 in C++.
I use SQLGetData command to pull data from the table. This command returns SQL_SUCCESS or SQL_ERROR based on the record. When I try to view the value of SQLSTATE when it is SQL_ERROR, it shows '00000', implying it is a success, but my SQLGETDATA command gives an error.
Does anyone know what is happening??
Shiva.