OpenDBX/C API/odbx column count

From Linuxnetworks
< OpenDBX‎ | C API
Revision as of 00:00, 15 February 2007 by Nose (Talk | contribs)

Jump to: navigation, search


#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