I use a bit simpler approach, don't know if it is correct or not, but it seems to work:
int rc = sqlite3_step(stmt);
while(rc == SQLITE_ROW)
{
/* read the row info */
rc = sqlite3_step(stmt);
}
if( rc != SQLITE_DONE)
{
/* handle error */
}
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

