Jonathan Haws <jonathan.h...@sdl.usu.edu> wrote: > I am having some troubles figuring out how I can access multiple rows in a > table.. > > For example, I have a table that I am trying to "SELECT * FROM some_table;". > For each row in the table, my callback function is > called.
I predict you'll find it much easier to use sqlite3_prepare / sqlite3_step interface, in place of sqlite3_exec. Instead of having a callback, you simply loop over all the rows and do whatever you want with each one. -- Igor Tandetnik _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users