neera sharma wrote:

I am using sqlite3. when i pass an sqlite command
string, following error is reported -

"SQL error: library routine called out of sequence"

Could anybody suggest the correct way of doing it.


Do you want to use the "sqlite3_exec with callback function" API? Or the "sqlite3_prepare/sqlite3_step/sqlite3_finalize" API?

The API is described here:

http://www.sqlite.org/capi3.html

HTH

Ulrik P.

--
Ulrik Petersen, MA, B.Sc.
University of Aalborg, Denmark





Reply via email to