int sqlite3_column_type( sqlite3_stmt* stmt, int cidx );
stmt
A prepared and executed statement.
cidx
A column index. The first column has an index
of zero (0).
The native datatype code of a result value.
This function returns the initial datatype of the value in a
result column. For a given column, this value may change from
one result row to the next. If this function is used, it should
be called before any sqlite3_column_xxx() function. Once a type
conversion takes place, the result of this function is
undefined.
The return value will be SQLITE_INTEGER, SQLITE_FLOAT, SQLITE_TEXT, SQLITE_BLOB, or SQLITE_NULL.