Joanne Pham wrote:
> The question that I had is when we need to use the sqlite3_close.
> So the question is do we need to use the sqlite3_close and when we need it.

sqlite3_close() closes the database connection opened by sqlite3_open(). 
You use it when you are done with a database connection.

sqlite3_finalize() destroys a statement created by sqlite3_prepare(). 
You do not close these statements.

HTH
Dennis Cote

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to