在MS Access 2013中使用SQL将日期与当前日期进行比较 [英] Compare Date with Current Date using SQL in MS Access 2013

查看:84
本文介绍了在MS Access 2013中使用SQL将日期与当前日期进行比较的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在ms Access 2013中有一个表.它的列名称expirydate具有日期值.我需要写一个满足以下条件的查询 expirydate大于当前日期. 谁能告诉我该怎么做?

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?

推荐答案

我假设您可以使用SQL查询:

I'm supposing that you can use SQL query :

SELECT * FROM table_name WHERE expirydate > Date()

这篇关于在MS Access 2013中使用SQL将日期与当前日期进行比较的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆