odbc_exec
(PHP 4, PHP 5, PHP 7, PHP 8)
odbc_exec — Directly execute an SQL statement
說明
odbc_exec(resource
$odbc
, string $query
): resource|falseSends an SQL statement to the database server.
返回值
Returns an ODBC result identifier if the SQL command was executed
successfully, or false
on error.
更新日誌
版本 | 說明 |
---|---|
8.0.0 |
flags was removed.
|
參見
- odbc_prepare() - Prepares a statement for execution
- odbc_execute() - Execute a prepared statement