sandhya <[EMAIL PROTECTED]> wrote:
Ya now i am getting error code which says SQLITE_DONE

It's not an error. It's a success code meaning that you've reached the end of resultset. If you get that on the very first call to sqlite3_step, it means your resultset is empty - there are no rows matching your condition.

When sqlite3_step successfully retrieves a row from resultset, it returns SQLITE_ROW. At this point, use sqlite3_column_* calls to retrieve individual fields from this row. E.g.

int oid = sqlite3_column_int(pStmt, 0);

Igor Tandetnik

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to