odbc_exec

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

odbc_execDirectly execute an SQL statement

Descrição

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

Sends an SQL statement to the database server.

Parâmetros

odbc

O identificador da conexão ODBC. Consulte odbc_connect() para obter detalhes.

query

The SQL statement.

Valor Retornado

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

Registro de Alterações

VersãoDescrição
8.0.0flags was removed.

Veja Também

To Top