odbc_exec

(PHP 4, PHP 5, PHP 7, PHP 8)

odbc_execDirectly execute an SQL statement

Опис

odbc_exec(resource $odbc, string $query): resource|false

Sends an SQL statement to the database server.

Параметри

odbc

Ідентифікатор з'єднання ODBC. Докладніше: odbc_connect().

query

The SQL statement.

Значення, що повертаються

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

Журнал змін

Версія Опис
8.0.0 flags was removed.

Прогляньте також