访问日期已过期的数据 [英] accessing data depaending on date

查看:84
本文介绍了访问日期已过期的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何根据日期从数据库访问数据(例如ms访问权限)

how to access data from database like ms access depending on dates

推荐答案

编写类似查询的语句.yourdate是输入值.
write a query something like.. yourdate is the input value.
select * from tablename where datecolumn = yourdate



msdn:SELECT语句(Microsoft Access) [ ^ ]



msdn:SELECT Statement (Microsoft Access) [^]


如果在两个日期之间使用这样的内容,
If its between dates, use something like this,
SELECT * FROM tablename WHERE DateColumn BETWEEN ''01.01.1990'' AND ''01.01.2011''


这篇关于访问日期已过期的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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