Compare Date with Current Date using SQL in MS Access 2013

泄露秘密 提交于 2020-01-26 03:24:06

问题


I have a table in ms access 2013. It has a column name expirydate having date values. I need to write a query with the following condition expirydate is greater than current date. Can anyone tell me how can i do this?


回答1:


I'm supposing that you can use SQL query :

SELECT * FROM table_name WHERE expirydate > Date()


来源:https://stackoverflow.com/questions/22895095/compare-date-with-current-date-using-sql-in-ms-access-2013

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!