I really have two questions: 1/ how to read/check sqlite db table offline? 2/ Why is a sqlite table column of boolean type set to NULL?
ad 1/ I have downloaded sqlite3.exe and when i use the cmd > .dump quotes_table i see all rows like
INSERT INTO quotes_table` VALUES................ INSERT INTO quotes_table` VALUES................ INSERT INTO quotes_table` VALUES................ INSERT INTO quotes_table` VALUES................ etc Is this correct as i was expecting to see just the values and not the queries?
ad 2/ I alter+updated the quotes_table by
db.execSQL("ALTER TABLE quotes_table ADD COLUMN quoteUsed boolean"); db.execSQL("UPDATE 'quotes_table' SET quoteUsed = 0"); I read on http://www.sqlite.org/datatype3.html sqlite use 0 and 1 for boolean type so i thought putting quoteUsed = 0 should be OK, but the value reads NULL. How can i fix this?
regards,
ps: FYI just installed SQLite manager addon for Firefox and it makes things easier