Hi, I open the database sqlite3_open, and do the required processing uisng sqlite3_exec() and after that i calls sqlite3_close(). In this order: sqlite3_open sqlite3_exec() sqlite3_close() If i open only once and try to do the searching/inserting of records my program is crashing. Is it necessary that i should close the opened database once the sqlite3_exec is called. Your suggestions are most welcome. Best Regards, Sreedhar.