> sqlite3_column_count Ah, yes that looks good, will try that one.
RBS On Sat, Jan 9, 2016 at 11:30 AM, Clemens Ladisch <clemens at ladisch.de> wrote: > Bart Smissaert wrote: > > I am interested to know from the statement string if the statement is > > invalid, row producing (could produce rows) or non row producing. > > <http://www.sqlite.org/c3ref/column_count.html> says about > sqlite3_column_count(): > | Return the number of columns in the result set returned by the > | prepared statement. This routine returns 0 if pStmt is an SQL > | statement that does not return data (for example an UPDATE). > > > Regards, > Clemens > _______________________________________________ > sqlite-users mailing list > sqlite-users at mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users >