Php/docs/function.odbc-exec

From Get docs
Revision as of 07:33, 9 December 2020 by Notes (talk | contribs) (autoload)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

odbc_exec

(PHP 4, PHP 5, PHP 7)

odbc_execDirectly execute an SQL statement


Description

odbc_exec ( resource $connection_id , string $query_string [, int $flags ] ) : resource

Sends an SQL statement to the database server.


Parameters

connection_id
The ODBC connection identifier, see odbc_connect() for details.
query_string
The SQL statement.
flags
This parameter is currently not used.


Return Values

Returns an ODBC result identifier if the SQL command was executed successfully, or FALSE on error.


See Also