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

SQL Anywhere 11.0.1 (日本語) » Ultra Light - C/C++ プログラミング » API リファレンス » Ultra Light ODBC API リファレンス

 

SQLExecDirect 関数

Ultra Light ODBC の場合、SQL 文を実行します。

構文
UL_FN_SPEC SQLRETURN UL_FN_MOD SQLExecDirect (
SQLHSTMT StatementHandle,
SQLTCHAR * StatementText,
SQLINTEGER TextLength );
パラメータ
  • StatementHandle   ステートメント・ハンドル。

  • StatementText   SQL 文のテキスト。

  • TextLength   *StatementText の長さ。

備考

SQLExecute とは違って、SQLExecDirect の場合は、実行前に文を準備する必要はありません。

SQLExecDirect では文が繰り返し実行されるため、SQLExecute に比べてパフォーマンスは低下します。

参照