Home > PHP > Function > > ingres_unbuffered_query()

ingres_unbuffered_query()

ingres_unbuffered_query - Send an unbuffered SQL query to Ingres

Syntax

mixed ingres_unbuffered_query (resource $link, string $query, array $params, string $types)

Arguments

  • link - The connection link identifier
  • query - A valid SQL query (see the Ingres SQL reference guide) in the Ingres documentation. See the queryparameter in ingres_query() for a list of SQL statements that cannot be executed via ingres_unbuffered_query(). Data inside the query should be properly escaped.
  • params - An array of parameter values to be used with the query
  • types - A string containing a sequence of types for the parameter values passed. See the typesparameter in ingres_query() for the list of type codes.

Description

ingres_unbuffered_query() sends the given query to the Ingres server.

Version

PHP No version information available, might only be in SVN

Return value

ingres_unbuffered_query() returns a query result identifier when there are rows to fetch; else it returns FALSE when there are no rows, as is the case of an INSERT, UPDATE, or DELETE statement. To see if an error occurred, use ingres_errno(), ingres_error(), or ingres_errsqlstate().