Функция sybase_unbuffered_query()
resource sybase_unbuffered_query ( string query, resource link_identifier [, bool store_result] )
Returns a positive Sybase result identifier on success, or
FALSE on error.
sybase_unbuffered_query() sends a query to the
currently active database on the server that's associated with the specified
link identifier. If the link identifier isn't specified, the last
opened link is assumed. If no link is open, the function tries to
establish a link as if
was
called, and use it.
Unlike ,
sybase_unbuffered_query() reads only the first
row of the result set.
and similar
function read more rows as needed.
reads up to the target row. The behavior may produce better performance
for large result sets.
will only return the correct number
of rows if all result sets have been read. To Sybase, the number of rows
is not known and is therefore computed by the client implementation.
FALSE to indicate
the resultsets shouldn't be fetched into memory, thus minimizing memory usage
which is particularly interesting with very large resultsets.
See also .
Рубрики: Без рубрики |

