array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'pt_BR', ), 'this' => array ( 0 => 'function.db2-cursor-type.php', 1 => 'db2_cursor_type', ), 'up' => array ( 0 => 'ref.ibm-db2.php', 1 => 'IBM DB2 Funções', ), 'prev' => array ( 0 => 'function.db2-connect.php', 1 => 'db2_connect', ), 'next' => array ( 0 => 'function.db2-escape-string.php', 1 => 'db2_escape_string', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ibm_db2/functions/db2-cursor-type.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL ibm_db2 >= 1.0.0)
db2_cursor_type — Returns the cursor type used by a statement resource
Returns the cursor type used by a statement resource. Use this to determine if you are working with a forward-only cursor or scrollable cursor.
stmt
A valid statement resource.
Returns either DB2_FORWARD_ONLY
if the statement
resource uses a forward-only cursor or DB2_SCROLLABLE
if
the statement resource uses a scrollable cursor.