You are here : cpp0mysql_data_seek

mysql_data_seek() - 0

 Seeks to an arbitrary row in a query result set. The
        offset value is a row number. Specify a value
        in the range from 0 to
        mysql_num_rows(result)-1.offset0mysql_num_rows(result)-1mysql_num_rows(result)-1This function requires that the result set structure contains
        the entire result of the query, so
        mysql_data_seek() may be used
        only in conjunction with
        mysql_store_result(), not with
        mysql_use_result().mysql_data_seek()mysql_data_seek()mysql_store_result()mysql_store_result()mysql_use_result()mysql_use_result()


Syntax

void mysql_data_seek(MYSQL_RES *result, my_ulonglong
        offset)


Example

 


Output / Return Value

 None.


Limitations


Alternatives / See Also


Reference