String sqlstring="create table jobbasicinfo(date text,companyname text,jobinfo text,jobdesc text,rate float) ";
以上是我的sql语句,但是执行创建表的时候就出错了,请大家帮忙看看那里有问题,谢谢了
以上是我的sql语句,但是执行创建表的时候就出错了,请大家帮忙看看那里有问题,谢谢了
解决方案 »
- 一个安卓效果
- 求Android大文本阅读器源码
- 奇怪的问题 android.os.AsyncTask 找不到
- 求助:关于Android新增日历控件的使用
- the application *** has stopped unexpectedly问题求解
- android 菜单问题
- 求助 谁写过android疯狂讲义最后的那个电子拍卖系统啊?
- Android给widget发送广播接收慢,有什么解决办法吗?
- 跪求各位大神指点迷津,操作Sqlite数据库一定需要Context对象吗?
- GridView网络,加载缓慢,有时候加载不出来
- 求助 Android XML解析问题
- Unable to open trace file
另外在接受varchar(n)、char(n)、decimal(p,s) 等数据类型时,会在运算或保存时会转成对应的五种数据类型。
楼至可尝试把float改为REAL试一下
也可以联系我:444092832
ERROR/AndroidRuntime(253): at db.Dbhelper.onCreate(Dbhelper.java:51)
这个是错误信息
create table jobbasicinfo(_id INTEGER PRIMARY KEY AUTOINCREMENT,date text ,companyname text ,jobinfo text,jobdesc text,rate real)