摘要:
[SQLServer] 表名为:tableName 时间字段名为:theDate 查询本月的记录 select * from tableName where DATEPART(mm, theDate) = DATEPART(mm, GETDATE()) and DATEPART(yy, theDate) = DATEPART(yy, GETDATE()) 查询本周的记录 sele... 阅读全文
posted @ 2009-02-09 14:21
自己
阅读(601)
评论(0)
推荐(0)
浙公网安备 33010602011771号