> Presumably this is something the original poster wants. Yes, need to know if the statement >could< produce rows.
RBS On Sat, Jan 9, 2016 at 4:57 PM, Simon Slavin <slavins at bigfraud.org> wrote: > > On 9 Jan 2016, at 1:18pm, Bart Smissaert <bart.smissaert at gmail.com> wrote: > > >> but only after at least one sqlite3_step() occurred. > > > > It will work before any step, but indeed the statement needs to be > prepared. > > I need to know before stepping, but it can do that. > > For a SELECT which returns no rows I presume it returns the number of > columns asked for. Presumably this is something the original poster wants. > > Simon. > _______________________________________________ > sqlite-users mailing list > sqlite-users at mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users >