SOS!!!!!在sql语句中DateTime比较时出现奇怪的问题。
Access2000 + Delphi6 + Win2000
sql语句:
Select * from Table where DateTimeField > #2003-8-3 8:30:00#
运行错误:
Raised exception class EoleException with Message'Parameter 对象被不正确定义。提供了不一致或不完整的信息。
想了半天,在调试中又发现一个奇怪的问题:把比较日期时间型值中的时间部分去掉又可以运行通过了:
Select * from Table where DateTimeField > #2003-8-3#
谁能帮帮我吗????三克油