odbc_exec
PHP function
Edit on GitHub ✎
(PHP 4, PHP 5, PHP 7, PHP 8)
Directly execute an SQL statement
Description
odbc_exec(Odbc\Connection $odbc, string $query): Odbc\Result|false
Sends an SQL statement to the database server.
Parameters
odbcId
queryThe SQL statement.
Return Values
Object-return if the SQL command was executed successfully, or false on error.
Changelog
| Version | Description |
|---|---|
| 8.0.0 | flags was removed. |