Hi,
I have attached the C program along this mail. The program does the following:
   1. Open a database file (Indicated by the argv[1] argument).
   2. Create the table "some_tbl" and insert a row into the table.
   3. Update the second column of the new row to value "1.0".
   4. Close the database.

After executing the program, open the database file using the sqlite command line program:

$ sqlite3 file.db
sqlite> select * from some_tbl;
1|

As the above output shows, the second column does not seem to get updated with the value "1.0".
Am i doing anything wrong in the program?

Regards,
chandan

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

Reply via email to