SQLBindCol(ODBC_stmt, 1, SQL_C_CHAR, &tmp, 50, &ODBC_err); if((ODBC_res = SQLFetch(ODBC_stmt) != SQL_NO_DATA)) { strcpy(value, tmp); } else { res = -1 ...
Hi Alex, I am new to odbc APIs and adding SQLColumns and SQLProcedure APIs to this package "api". When running the go test using this API I am not able to fetch the rows returned by above APIs. PFB ...
When SQLFetch() is called, the appropriate data transfer is performed, along with any data conversion if conversion was indicated when the column was bound. The columns can also be received ...
SQLINTEGER * StrLen_or_IndPtr output Pointer to value which indicates the number of bytes DB2 CLI has available to return in the TargetValuePtr buffer. If the data is being retrieved in pieces, this ...