Igor,

Yes, I called sqlite3_column_type before and after each sqlite3_step in order 
to determine when it might work and it always came back as SQLITE_NULL (5).

Incidentally, the SQLite version is "3.7.16.1".

Vance

on Apr 09, 2013, Igor Tandetnik <i...@tandetnik.org> wrote:
>
>On 4/9/2013 8:01 PM, ven...@intouchmi.com wrote:
>> I am using sqlite3_column_type.
>
>Have you called sqlite3_step before calling sqlite3_column_type? 
>sqlite3_column_type doesn't report the type of the column (which is a 
>concept that doesn't really exist in SQLite), but the type of the value 
>in the given column and the *current row*. For it to work, the statement 
>has to actually be positioned over some row.
>-- 
>Igor Tandetnik
>
>_______________________________________________
>sqlite-users mailing list
>sqlite-users@sqlite.org
>http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to