Home > PHP > Function > Sybase > sybase_unbuffered_query()

sybase_unbuffered_query()

sybase_unbuffered_query - Send a Sybase query and do not block

Syntax

resource sybase_unbuffered_query (string $query, resource $link_identifier, bool $store_result)

Arguments

  • query
  • link_identifier
  • store_result - The optional store_result can be FALSE to indicate the resultsets shouldn\'t be fetched into memory, thus minimizing memory usage which is particularly interesting with very large resultsets.

Description

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 sybase_connect() was called, and use it.

Version

PHP 4.3.0, 5

Return value

Returns a positive Sybase result identifier on success, or FALSE on error.