This function retrieves data for a single column in the current row of the result set.
Syntax :
RETCODE SQLGetData (hstmt, icol, fcType, value, valuesMax, pcbValue );
Arguments :
The arguments for SQLGetData are listed in below table.
| Type | Name | Description |
| SQLHSTMT | HStmt | Statement handle |
| SQLSMALLINT | icol | Column number for which the data retrieval is requested |
| SQLSMALLINT | fcType | Application data type of the column identified by icol |
| SQLPOINTER | value | Pointer to buffer where the retrieved column data is to be stored |
| SQLINTEGER | valuesMax | Maximum size of the buffer pointed to by value |
| SQLSMALLINT* | pcbValue | Pointer to the value that indicates the number of bytes. The value is SQL_NULL_DATA if the data value of the column is null. If this pointer is NULL |