Programming Guide



dm_set_max_rows_per_fetch

Sets the maximum number of rows per fetch

#include <dmuproto.h>
int dm_set_max_rows_per_fetch(int count);

count
Maximum number of rows per fetch. If -1, return the current setting.

Returns

Description

dm_set_max_rows_per_fetch sets the maximum number of rows per fetch. The default (and maximum) value is 1000. This affects the number of rows retrieved on each fetch request, not the number of rows retrieved by a SELECT statement or DBMS CONTINUE command. Use this function in order to optimize your application on a specific platform.

The max_rows_per_fetch application property also sets this value.

See Also

dm_set_max_fetches