1.现象:.创建不出来数据库,
解决:测试用的项目包明以db结尾了,重新创建项目改成dbtest就没事了。
2.现象;创建出来数据库,但是数据库中没有表项
解决:db.execSQL("create table " + TABLE_NEWS_NAME + " ( " + TABLE_NEWS_ID + " integer primary key autoincrement, " + TABL...
分类:
数据库 时间:
2014-08-03 18:05:05
阅读次数:
252
SQLite可以解析大部分的标准SQL语句:建表语句:create table 表名(主键名
integer primary key autoincrement(设置为自增列),其他列名及属性)或(主键名 integer primary key
)SQLite数据库中将所有声明为“integer p...
分类:
移动开发 时间:
2014-05-22 15:44:31
阅读次数:
380