嘿嘿考试刚考过,一般表示日子都是date, 所以一般都是date = sysdate + 1如果表示为time的话就是time = sysdate + 1
cast(time as date) =cast(datediff(day,日期差值明天的话为-1,getdate()) as date)
select * from tb where time >getdate()+1
time<'2012-11-6 23:59:59' and time>'2012-11-6 0:0'