private static final String CREATE = "CREATE TABLE " + TABLE_NAME + "(" + UID + "INTEGER PRIMARY KEY AUTOINCREMENT," +
NAME + "VARCHAR(255);";
当我尝试运行它时,我会得到以下日志错误......!
04-17 12:35:38.057 17642-17642 /? E / SQLiteLog:(1)靠近“table”:语法错误
我没有得到sql中的语法错误。
答案 0 :(得分:0)
你必须关闭表格的圆形括号
.wrapper {
display: table;
width:1020px;
}
“(”+ UID +“INTEGER PRIMARY KEY AUTOINCREMENT,”+ NAME +“VARCHAR(255));”;