db2_cursor_type

(PECL ibm_db2 >= 1.0.0)

db2_cursor_type Returns the cursor type used by a statement resource

说明

db2_cursor_type ( resource $stmt ) : int

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.

参见

相关文章
php ibm db2 函数 returns an object with properties that describe the db2 database clientphp ibm db2 函数 returns a result set listing the columns and associated privileges for a tablephp ibm db2 函数 returns a result set listing the columns and associated metadata for a tablephp ibm db2 函数 returns the cursor type used by a statement resourcephp ibm db2 函数 returns the maximum number of bytes required to display a columnphp ibm db2 函数 returns the name of the column in the result setphp ibm db2 函数 returns the position of the named column in a result setphp ibm db2 函数 returns the precision of the indicated column in a result setphp ibm db2 函数 returns the data type of the indicated column in a result setphp ibm db2 函数 frees resources associated with the indicated statement resourcephp ibm db2 函数 retrieves an option value for a statement resource or a connection resourcephp ibm db2 函数 returns the number of rows affected by an sql statementphp ibm db2 函数 returns a persistent connection to a databasephp ibm db2 函数 prepares an sql statement to be executedphp ibm db2 函数 returns a string containing the sqlstate returned by an sql statementphp ibm db2 函数 returns a string containing the last sql statement error messagephp ibm db2 函数 returns a result set listing the tables and associated metadata in a databasephp maxdb 函数 returns a string representing the type of connection usedphp maxdb 函数 initializes a statement and returns an resource for use with maxdb stmt preparephp oci8 函数 returns the next child statement resource from a parent statement resource that has oracle database 12c implicit result sets
关注编程学问公众号