Programming Guide |
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.
- The new maximum number of rows per fetch. If
count
is-1
, the current value.
dm_set_max_rows_per_fetch
sets the maximum number of rows per fetch. The default (and maximum) value is1000
. This affects the number of rows retrieved on each fetch request, not the number of rows retrieved by aSELECT
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.