sqlany_fetch_absolute function

Moves the current row in the result set to the row number specified and then fetches the data at that row.

Syntax
sacapi_bool sqlany_fetch_absolute( a_sqlany_stmt * stmt, sacapi_i32 row_num )
Parameters
  • stmt    A statement object that was executed by sqlany_execute or sqlany_execute_direct.

  • row_num   The row number to be fetched. The first row is 1, the last row is -1.

Returns

1 if the fetch is successful, 0 when the fetch is unsuccessful.

See also