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 cubrid 函数 move the cursor in the resultphp 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 ibm db2 函数 returns the name of the column in the result setphp ingres 函数 get a cursor name for a given result resourcephp ingres 函数 fetch a row of result into an enumerated arrayphp ingres 函数 get the name of a field in a query resultphp ingres 函数 get the type of a field in a query resultphp ingres 函数 free the resources associated with a result identifierphp maxdb 函数 frees stored result memory for the given statement handlephp oci8 函数 returns the next child statement resource from a parent statement resource that has oracle database 12c implicit result setsphp 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 runkit 函数 dynamically changes the name of the given methodphp socket 函数 queries the remote side of the given socket which may either result in host/port or in a unix filesystem path dependent on its typephp socket 函数 queries the local side of the given socket which may either result in host/port or in a unix filesystem path dependent on its typephp sqlite 函数 executes a result less query against a given databasephp sqlite 函数 executes a query against a given database and returns a result handlephp win32service 函数 registers the script with the scm so that it can act as the service with the given namephp sdo das xml 函数 creates sdo dataobject for a given namespace uri and type name
关注编程学问公众号