select case when DATEDIFF (minute,GETDATE(), '2018-11-11 00:00:18' )>0 then 0 else 1 end as is_guoqi
转载于:https://www.cnblogs.com/wangzhen/p/9964248.html
select case when DATEDIFF (minute,GETDATE(), '2018-11-11 00:00:18' )>0 then 0 else 1 end as is_guoqi
转载于:https://www.cnblogs.com/wangzhen/p/9964248.html