mixed sasql_query( sasql_conn $conn, string $sql_str [, int $result_mode ] )
Prepares and executes the SQL query $sql_str on the connection identified by $conn that has already been opened using sasql_connect or sasql_pconnect.
$conn The connection resource returned by a connect function.
$sql_str A SQL statement supported by SQL Anywhere.
$result_mode Either SASQL_USE_RESULT, or SASQL_STORE_RESULT (the default).
FALSE on failure; TRUE on success for INSERT, UPDATE, DELETE, CREATE; sasql_result for SELECT.
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |