ingres_cursor

(PECL ingres >= 1.1.0)

ingres_cursorGet a cursor name for a given result resource

说明

ingres_cursor ( resource $result ) : string

Returns a string with the active cursor name. If no cursor is active then NULL is returned.

参数

result

The query result identifier

返回值

Returns a string containing the active cursor name. If no cursor is active then NULL is returned.

范例

Example #1 Get cursor name for a query resource

<?php
$link 
ingres_connect($database$user$password);

$result ingres_prepare($link"select * from table");

$cursor_name ingres_cursor($result);

echo 
$cursor_name;

?>

参见

相关文章
php classkit 函数 dynamically changes the name of the given methodphp cubrid mysql 兼容性函数 move the result set cursor to the specified field offsetphp ibm db2 函数 returns the cursor type used by a statement resourcephp ibm db2 函数 returns an array indexed by column name representing a row in a result setphp ibm db2 函数 returns an array indexed by both column name and position representing a row in a result setphp frontbase 函数 get the name of the specified field in a resultphp firebird/interbase 函数 assigns a name to a result setphp ingres 函数 get a cursor name for a given result resourcephp ingres 函数 fetch a row of result into an arrayphp ingres 函数 fetch a row of result into an associative arrayphp ingres 函数 fetch a row of result into an objectphp ingres 函数 fetch a row of result into an enumerated arrayphp ingres 函数 get the name of a field in a query resultphp intl 函数 get symbolic name for a given error codephp msql 函数 get the name of the specified field in a resultphp postgresql 函数 sends a request to execute a prepared statement with given parameters and waits for the resultphp postgresql 函数 sends a request to execute a prepared statement with given parameters without waiting for the result s php sqlite 函数 executes a result less query against a given databasephp sqlite 函数 executes a query against a given database and returns a result handlephp sdo das xml 函数 creates sdo dataobject for a given namespace uri and type name
关注编程学问公众号