sql server 按时间段查询记录的注意事项
摘要:
在写按时间段查询的sql语句的时候 一般我们会这么写查询条件: where date>='2010-01-01' and date<='2010-10-1'。但是在实执行Sql时些语句会转换成这样: where date>='2010-01-01 0:00:00' and date<='2010-10-1:0:00:00',再看这个条件的话,也许就会有些明白,那就是'... 阅读全文
posted @ 2010-12-03 15:55 农民工老李 阅读(1330) 评论(0) 推荐(0)
浙公网安备 33010602011771号