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

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

SQLExecDirect function Next Page

SQLExecute function


Executes a prepared SQL statement, for UltraLite ODBC.

Syntax

UL_FN_SPEC SQLRETURN UL_FN_MOD SQLExecute (
SQLHSTMT StatementHandle );

Parameters
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