odbc_exec

(PHP 4, PHP 5, PHP 7)

odbc_execPrepare and execute an SQL statement

˵��

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

Sends an SQL statement to the database server.

����

connection_id

ODBC ���ӱ�ʶ������� odbc_connect()��

query_string

The SQL statement.

flags

This parameter is currently not used.

����ֵ

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

�μ�