let it be
行到水穷处 坐看云起时
posts - 147,comments - 458,trackbacks - 15

07 2009 档案
sql语句获取本周、本月数据
摘要: 本周:select * from table where datediff(week,C_CALLTIME,getdate())=0 --C_CALLTIME 为日期字段本月:select * from table where datediff(Month,C_CALLTIME,getdate())=0 --C_CALLTIME 为日期字段本季:select * from table where ...阅读全文
posted @ 2009-07-04 17:21 流浪浪 阅读(377) | 评论 (0) 编辑