易截截图软件、单文件、免安装、纯绿色、仅160KB

SQLite取整数函数是哪个?

更新语句中:

UPDATE sc SET AA=INT(BB)

我想让AA得到BB的整数值。可是运行报错。

不知道SQLite下 取整数部分的函数是哪个?(四舍五入的函数又是哪个?)。
如果知道还有其他函数请一并告知,谢谢。


ROUND

SQLite没有用过。
在sql server 里到是许多办法啊。


相关问答:

sqlite的空值查询怎么写,能者得分

sqlite的空值查询怎么写,能者得分
select * from tt where f1 is null

select * from yourTable where col is null;

SQL code:
sqlite> create table Aoqun (id int primary key,col1 int);
sqlite> ......

Sqlite int转换为十六进制

sqllite里面有什么方法把int转换为十六进制存储的呢?
例如,strftime('%s', 'now') 得到1263777947,当前的秒数,我想存储为它的十六进制表示"4B53B89B"
谢谢..

其实我是想strftime ......

flex air连接sqlite查询报错:no such table

XML code:
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx ......

sqlite数据库查询表靠前

刚入门 想实现新闻表新闻置顶的功能

select * from web_news  order by id desc limit 0,6

web_news 表里有TOP列 怎样让TOP列记录为1的为置前  各位大大们帮帮忙 分不多 请包涵!!
order ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号