This function returns the number of columns in the result set associated with the input statement handle.
Syntax :
RETCODE SQLNumResultCols ( hstmt , col);
Arguments :
The arguments for SQLNumResultCols are listed in below table.
| Type | Name | Description |
| SQLHSTMT | hstmt | Statement handle |
| SQLSMALLINT * | col | Number of columns in the result set |