Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

Versions available for this page: CUBRID 8.2.1 |  CUBRID 8.3.0 |  CUBRID 8.3.1 |  CUBRID 8.4.0 |  CUBRID 8.4.1 |  CUBRID 8.4.3 |  CUBRID 9.0.0 | 

cci_set_max_row

Description

The cci_set_max_row function configures the maximum number of records for the results of the SELECT statement executed by cci_execute. If the max value is 0, it is the same as not setting the value.

Syntax

intcci_set_max_row(int req_handle, int max)

  • req_handle: (IN) Connection handle
  • max: (IN) The maximum number of rows
Return Value
  • Error code
Example

req = cci_prepare( … );

cci_set_max_row(req, 1);

cci_execute( … );