SQLite取整数函数是哪个?
更新语句中:
UPDATE sc SET AA=INT(BB)
我想让AA得到BB的整数值。可是运行报错。
不知道SQLite下 取整数部分的函数是哪个?(四舍五入的函数又是哪个?)。
如果知道还有其他函数请一并告知,谢谢。
ROUND
SQLite没有用过。
在sql server 里到是许多办法啊。
相关问答:
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> ......
sqllite里面有什么方法把int转换为十六进制存储的呢?
例如,strftime('%s', 'now') 得到1263777947,当前的秒数,我想存储为它的十六进制表示"4B53B89B"
谢谢..
其实我是想strftime ......
XML code:
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx ......
刚入门 想实现新闻表新闻置顶的功能
select * from web_news order by id desc limit 0,6
web_news 表里有TOP列 怎样让TOP列记录为1的为置前 各位大大们帮帮忙 分不多 请包涵!!
order ......