Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLite - C and C++ Programming » API Reference » UltraLite ODBC API reference

 

SQLExecute function

Executes a prepared SQL statement, for UltraLite ODBC.

Syntax
UL_FN_SPEC SQLRETURN UL_FN_MOD SQLExecute (
SQLHSTMT StatementHandle );
Parameters
  • StatementHandle¬†¬† The handle for the statement to be executed.

Remarks

The statement must be prepared using SQLPrepare before it can be executed. If the statement has parameter markers, they must be bound to variables using SQLBindParameter before execution.

You can use SQLExecDirect to execute a statement without preparing it first. SQLExecDirect has slower performance than SQLExecute for statements executed repeatedly.

See also