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.

参见

相关文章
php cubrid 函数 execute a prepared sql statementphp cubrid 函数 prepare a sql statement for executionphp ibm db2 函数 binds a php variable to an sql statement parameterphp ibm db2 函数 returns the number of rows affected by an sql statementphp ibm db2 函数 returns a string containing the sqlstate returned by an sql statementphp ibm db2 函数 returns a string containing the last sql statement error messagephp dbx 函数 escape a string so it can safely be used in an sql statementphp informix 函数 execute a previously prepared sql statementphp informix 函数 prepare an sql statement for executionphp maxdb 函数 prepare an sql statement for executionphp maxdb 函数 prepare an sql statement for executionphp odbc 函数 prepare and execute an sql statementphp odbc 函数 execute a prepared statementphp odbc 函数 prepares a statement for executionphp postgresql 函数 sends a request to execute a prepared statement with given parameters without waiting for the result s php sqlite 函数 returns the number of rows that were changed by the most recent sql statementphp sqlsrv 函数 executes a statement prepared with sqlsrv preparephp sqlsrv 函数 retrieves metadata for the fields of a statement prepared by sqlsrv prepare or sqlsrv queryphp mysql xdevapi session execute an sql statementphp sdo das relational 函数 executes an sql query passed as a prepared statement with a list of values to substitute for placeholders and return the results as a normalised data graph
关注编程学问公众号