[libdbi-users] Using field_type and field_attribs

2008-10-22 Thread João Henrique Freitas
Hello, This is a short question. What are the methods to differentiate a char or int from a query? Like: SELECT the_int, the_char . I can use: column_number = 2; dbitype = dbi_result_get_field_type_idx(result,column_number); dbitype_attrb = dbi_result_get_field_attribs_idx(result,column_n

[libdbi-users] Using field_type and field_attribs

2008-10-22 Thread Markus Hoenicka
Hi, I'm a bit confused about your question as you seem to provide the correct answer along with your question? regards, Markus João Henrique Freitas writes: > Hello, > > This is a short question. > > What are the methods to differentiate a char or int from a query? > > Like: SELECT the