条件替换 本帖最后由 ihq2008 于 2009-07-15 10:07:20 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 --其实效率很高了。。(DATEDIFF(hh,a.date,b.date)) between -1 and 1? 修改--其实效率很高了。。(DATEDIFF(hh,a.date,b.date))>-1 and (DATEDIFF(hh,a.date,b.date))<1 DATEDIFF用上了,索引也就失效了,所以ABS(DATEDIFF(hh,a.date,b.date)) <1应该算高效了. datetime数据在SQL语句中的正确表述?在线等! 关于一个sql语句 请问sql语句中的括号是什么意思 数据库逻辑名的修改。 toad for mysql怎么连接到数据库? 如何将本地mdb中数据插入到远程SQL SERVER数据库中 写sql语句 求助:为什么这条记录查不出来? 一个菜鸟的菜鸟问题 关于日志还原的问题。 varchar排序问题 select patindex('*',规格描述) from BOM导入 搜星号没有结果
(DATEDIFF(hh,a.date,b.date)) between -1 and 1?
--其实效率很高了。。
(DATEDIFF(hh,a.date,b.date))>-1 and (DATEDIFF(hh,a.date,b.date))<1
ABS(DATEDIFF(hh,a.date,b.date)) <1
应该算高效了.