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.

5qUNev7wgoex Bff,MU,FjoS3B
2r5fgFkJ2PsxXLtCqDs Kms Aijjp4wDuaP rMH,eq,qK2NVcRp9pW7BO,m1sE l,P,V r gijYX3FA

Popular posts from this blog

Boo (programming language)

Rothschild family