Simon Slavin wrote: > On 3 Jun 2011, at 3:50am, Sarkar, Arup wrote: > >> I am using sqlite3 primarily from c++, everything is working fine, except >> when I switch off my computer I loose all data, is there any setting I need >> to do to make the data and table object persistent in the .db file? > > Are you correctly closing your connection to the database before your > application quits ? > > Does a file with the correct name exist on your disk ? Does it have zero > length ?
For that matter, maybe hinted from the second point here, are you using a regular file-based database or a MEMORY one? -- Darren Duncan _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users