java - Sqlite Syntax Error -


i error:

06-30 12:26:28.987: error/androidruntime(14818): caused by: android.database.sqlite.sqliteexception: near "when": syntax error: create table htable (id integer primary key, text, message text, when text) 

really confused host. sat staring @ 15 minutes.

when reserved keyword. you'll need change column name or escape it.

see: http://www.sqlite.org/lang_keywords.html


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -