Difference between revisions of "OpenDBX/C API/odbx column count"

From Linuxnetworks
< OpenDBX‎ | C API
Jump to: navigation, search
(see also)
(header)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
  
  unsigned long odbx_column_count(
+
#include <odbx.h>
     odbx_result_t* result )
+
 +
  unsigned long '''odbx_column_count'''(
 +
     odbx_result_t* '''result''' )
  
 
= Description: =
 
= Description: =

Revision as of 00:00, 15 February 2007


#include <odbx.h>

unsigned long odbx_column_count(
    odbx_result_t* result )

Description:

Returns the number of columns of the current result set allocated by odbx_result(). The number of columns doesn't change within a result set.

Parameters:

Return values:

  • Number of columns returned by the last query. The return value is zero if the query wasn't a SELECT-like query.

Errors:

  • None

See also:



Back to Overview