错误:
10-30 03:42:14.451: E/SQLiteLog(1633): (1) near "TEXT": syntax error
10-30 03:42:14.502: E/AndroidRuntime(1633): android.database.sqlite.SQLiteException: near "TEXT": syntax error (code 1): , while compiling: Create Table user_info(_ID INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL , name TEXT , bdate TEXT , adate TEXT , check TEXT , bmessage TEXT , amessage TEXT):
当这种类型的错误发生时。
下面给出sql代码:
String TABLE_SQL="Create Table "+TABLE_NAME
+"(_ID INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL , "
+" name TEXT , "
+" bdate TEXT , "
+" adate TEXT , "
+" check TEXT , "
+" bmessage TEXT , "
+" amessage TEXT): ";