判断数据库中有没有 与当前日期一致的 delphi + access select * from 表名 where 时间 = 当前日期 思路有了 报错 新手求助 求正确的解答。。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * from 表名 where 时间 between #当前日期# and #当前日期+1#(时间字段的类型要是时间类型) access中支持now函数如select * from a where fielddate=now ++或是自己在程序里拼接字符串也可以strSql:='select * from 表名 where 时间 between #'+FormatDateTime('yyyy-mm-dd',now)+'# and #'+FormatDateTime('yyyy-mm-dd',now+1)+'#' 不知道这个是哪个控件 delphi6.0 添加动态链接库dll 请问如何使用FindDialog和ReplaceDialog控件?? 一个邮件接收日期的问题 请各位大侠帮帮忙 Delphi/Cb界面中文乱码 数据库(SQLServer)记录太多,有什么办法可以提高查询速度? 哪里可以下载Delphi 6中文版啊 delphi小问题请教2 在MTS数据模块中如何建立这样的方法? 问一个OnChange事件的问题,不是老问题,请花点时间帮忙看看 delphi程序运行时间问题~~~~~~~~~~
如
select * from a where fielddate=now
或是自己在程序里拼接字符串也可以strSql:='select * from 表名 where 时间 between #'+FormatDateTime('yyyy-mm-dd',now)+'# and #'+FormatDateTime('yyyy-mm-dd',now+1)+'#'