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

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

Revision as of 00:01, 15 February 2007


#include <odbx.h>

char* odbx_column_name(
   odbx_result_t* result,
   unsigned long pos )

Description:

Returns the name of the column specified by "pos" in the current result set returned by odbx_result(). The value of "pos" must be in the range from 0 to odbx_column_count()-1.

Parameters:

  • result: Pointer to object created by odbx_result()
  • pos: Column number within the current result set

Return values:

  • Name of the column on success
  • NULL if handle is invalid or pos is out of range

Errors:

  • None

See also:



Back to Overview