ingres_prepare()
ingres_prepare - Prepare a query for later execution
Syntax
mixed ingres_prepare (
resource $link,
string $query)
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 which cannot be executed using ingres_prepare()
Description
Prepares a query for execution by ingres_execute().
Version
PHP PECL ingres >= 1.1.0
Return value
ingres_prepare() returns a query result identifier that is used with ingres_execute() to execute the query. To see if an error occurred, use ingres_errno(), ingres_error(), or ingres_errsqlstate().