sql 查询语句中时间比较的怪问题。
在table1中数据充足的情况下,为什么
select * from table1 where tim > convert(datetime,'2011-4-6 03:00:00') 能够有结果输出
而
select * from table1 where tim < convert(datetime,'2011-4-6 03:00:00') 的检索结果是零行呢
注:tim 列示dateTime类型,数据时分钟连续的,每分钟一条记录的
----------------------------------------------------------------------
纳闷:为什么 < 和 > 号有什么区别呢?