This function reads in a row of data from the result set. After calling the function, the cursor is positioned to the next row to be read. If the application called SQLBindCol to bind columns, SQLFetch stores data from the row in the specified buffers.
Syntax :
RETCODE SQLFetch (hStmt)
Arguments :
| Type | Name | Description |
| SQLHSTMT | hStmt | Statement handle |
Returns:
SQLFetch returns SQL_SUCCESS if a new row of data is read successfully.