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 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 frontbase 函数 get the name of the specified field in a resultphp 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 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 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
关注编程学问公众号