Row Status Array
Row status array value
| Description
|
SQL_ROW_SUCCESS | The row was successfully fetched and has not changed since it was last fetched.
|
SQL_ROW_
SUCCESS_WITH_INFO | The row was successfully fetched and has not changed since it was last
fetched. However, a warning was returned about the row.
|
SQL_ROW_ERROR
| An error occurred while fetching the row.
|
SQL_ROW_UPDATED
| The row was successfully fetched and has been updated since it was last
fetched. If the row is fetched again, or refreshed by SQLSetPos, its status is changed to the new status.
Some drivers cannot detect changes to data and therefore, cannot return this value. To determine whether a driver can detect updates to refetched rows, an application calls SQLGetInfo with the SQL_ROW_UPDATES option. |
SQL_ROW_DELETED
| The row has been deleted since it was last fetched.
|
SQL_ROW_ADDED
| The row was inserted by SQLBulkOperations. If the row is fetched again, or is refreshed by SQLSetPos, its status is SQL_ROW_SUCCESS.
This value is not set by SQLFetch or SQLFetchScroll. |
SQL_ROW_NOROW
| The rowset overlapped the end of the result set and no row was returned that
corresponded to this element of the row status array.
|