Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

Versions available for this page: CUBRID 9.0.0 | 

cci_set_holdability

Description

Sets whether to enable or disable cursor holdability of the result set from the connection level. When it is 1, the connection is disconnected or the cursor is holdable until the result set is intentionally closed regardless of commit. When it is 0, the result set is closed when committed and the cursor is not holdable. For more details on cursor holdability, see Cursor Holdability.

Syntax

int cci_set_holdability(int conn_handle,int holdable)

  • conn_handle: (IN) Connection handle
  • holdable: (IN) Cursor holdability setting value (0: not holdable, 1: holdable)
Return Value
  • Error Code
Error Code
  • CCI_ER_INVALID_HOLDABILITY