On 2/25/2015 7:03 PM, Bart Smissaert wrote:
> Could somebody tell me what the difference is between these 2 functions?

sqlite3_column_count() returns correct number as soon as the statement 
is prepared. sqlite3_data_count returns zero unless the statement is 
actually positioned on a row (sqlite3_step was called, and returned 
SQLITE_ROW).

Why both are needed, I'm not sure.
-- 
Igor Tandetnik

Reply via email to