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.

锟轿硷拷