select * from guestbook where pubtimes > '"&chkdate&"' and pubtimes<dateadd(dd,1,'"&chkdate&"') order by pubtimes desc
是什么问题
...全文
752打赏收藏
为什么时间比较在sql数据库没问题在access不行
我的sql语句 chkdate格式为(2005-9-27) 找出2005-9-27的数据 select * from guestbook where pubtimes > '"&chkdate&"' and pubtimes<dateadd(dd,1,'"&chkdate&"') order by pubtimes desc 是什么问题