AlienwareAi
2017-05-07 08:42Android Sqlite建表语句出错
ublic static final String CREATE_TABLE = "create table HistoryNote ("+
"id integer primary key autoincrement,"+
"date text,"+
"from text,"+
"content text,"+
"tag integer,"+//tag = 0是历史记录,tag = 1是记事簿
"isCollected integer)";// isCollected = 0是未被收藏,=1是收藏
但是错误提示在from附近有错!
`android.database.sqlite.SQLiteException: near "from": syntax error (code 1): , while compiling: create table History (id integer primary key autoincrement,date text,from text,content text,tag integer,isCollected integer)
我是个安卓开发初学者,这个问题在哪?
- 点赞
- 回答
- 收藏
- 复制链接分享
1条回答
为你推荐
- Android Sqlite建表语句出错
- android
- sqlite
- 1个回答