This feature will be removed in a future version of Windows. Avoid using this feature in new development work and plan to modify applications that currently use this feature. Microsoft recommends ...
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 ...
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 ...