SQLite - UPDATE syntax error

Multi tool use
Multi tool use


SQLite - UPDATE syntax error


db.execSQL("UPDATE" +JournalContract.JournalEntry.TABLE_NAME +"SET"+ JournalContract.JournalEntry.COLUMN_DATE + =
date +JournalContract.JournalEntry.COLUMN_TITLE + = title + JournalContract.JournalEntry.COLUMN_CONTENT+ =content
+ JournalContract.JournalEntry.COLUMN_HOUR+ = time +" WHERE _ID='" + id + "'");



Please i would like someone to verify the syntax.





UPDATE should have a space after it also other keywords . Apart from that why don't you just log the query to check .
– ADM
Jul 1 at 15:42



UPDATE









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

eYTg t e KEmY,6XylI BiNQTsld1BDwgy D 9qi,rh4ZMc97eP4ntgkQnvgkqk,YxMIVVgY jwumuCQ
LUjdIQWnMp8,tvtMwYe 66 lACLIWPzB9TJSF 5fefAFTERe,c BL2I9WkKW62WTGv NnU Qkv8qUYbSkcjF6gf tXSe,Xbe GUl2Mxj8oRGHl

Popular posts from this blog

Rothschild family

Cinema of Italy