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 a string containing the sqlstate returned by the last connection attemptphp ibm db2 函数 returns the last connection error message and sqlcode valuephp ibm db2 函数 returns a connection to a databasephp ibm db2 函数 returns the cursor type used by a statement resourcephp ibm db2 函数 used to escape certain charactersphp ibm db2 函数 executes an sql statement directlyphp ibm db2 函数 returns the scale of the indicated column in a result setphp ibm db2 函数 returns the data type of the indicated column in a result setphp ibm db2 函数 returns the width of the current value of the indicated column in a result setphp ibm db2 函数 returns a result set listing the foreign keys for a tablephp 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 result set listing stored procedure parametersphp ibm db2 函数 returns a result set listing the stored procedures registered in a databasephp ibm db2 函数 returns a single column from a row in the result setphp ibm db2 函数 returns an object with properties that describe the db2 database serverphp 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 zlib 函数 returns the coding type used for output compression
关注编程学问公众号