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

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

Revision as of 00:02, 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