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

SQL Anywhere 11.0.1 (日本語) » SQL Anywhere サーバ - プログラミング » SQL Anywhere データ・アクセス API » SQL Anywhere C API リファレンス » sacapi.h

 

sqlany_num_cols 関数

結果セット内のカラム数を返します。

構文
sacapi_i32 sqlany_num_cols( a_sqlany_stmt * stmt )
パラメータ
  • stmt   sqlany_prepare または sqlany_execute_direct によって作成された文オブジェクト。

戻り値

結果セット内のカラム数。失敗した場合は -1。

参照