在Visual Studio查询生成器中选择日期 [英] Date select within Visual studio query builder

查看:450
本文介绍了在Visual Studio查询生成器中选择日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用数据填充列表框,其中特定列的日期等于当前日期。我在查询生成器中遇到此问题。这是select语句

I am trying to populate a listbox with data where a specific columns date is equal to the current date. I having problems achieving this within the query builder. Here is the select statement

推荐答案

使用表名永远不会伤害。

It never hurts to use the table name.

我会尝试最后一行为

WHERE((stock.dateRelease)= Date())

WHERE ((stock.dateRelease)=Date())


这篇关于在Visual Studio查询生成器中选择日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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