会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
左手心
忙时勿慌,闲时勿荒!
——Mc_Theo
首页
新随笔
联系
订阅
管理
06 2010 档案
各种按日期、时间段统计SQL语句
摘要:--前一日 select * from 表名 where datediff(d,cast(日期 as datetime),getdate())=1 --上周 select * from 表名 where datediff(dw,cast(日期 as datetime),getdate())=1
阅读全文
posted @
2010-06-08 09:49
Theo
阅读(2712)
评论(1)
推荐(0)