![]() | 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
countis-1, the current value.
dm_set_max_rows_per_fetchsets 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 aSELECTstatement or DBMS CONTINUE command. Use this function in order to optimize your application on a specific platform.The
max_rows_per_fetchapplication property also sets this value.