Ok.. thanks.

Marc

> -----Original Message-----
> From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-
> boun...@sqlite.org] On Behalf Of Igor Tandetnik
> Sent: Tuesday, February 14, 2012 10:50 AM
> To: sqlite-users@sqlite.org
> Subject: Re: [sqlite] Handling multiple result sets in sqllite3_exec()
> 
> On 2/14/2012 10:37 AM, Marc L. Allen wrote:
> > If I call exec() with a series of SQL that returns multiple result
> sets, is there an easy way to determine that in the callback?
> 
> Not to my knowledge. So it's best to not do that. In fact, it's best to
> use sqlite3_exec, if at all, only for statements that don't return any
> results. For SELECT, consider sqlite3_prepare[_v2], sqlite3_step,
> sqlite3_column*, sqlite3_finalize.
> --
> 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