sele * from tb where sj>={2001-1-1}
在command执行时,结果正确
可放在Delphi,用ODBC连接执行时,连2000年的记录也能出来~~
怎么回事?
select * from tb where sj>=to_date(2001-1-1,yyyy-MM-dd)
不知在vfp中是否可用,试试看吧...
-------------------------
我流落在凄凉的世界里-孤苦伶仃
我过着动荡无助的生活-四处漂泊
有的版本需要这样的格式 sele * from tb where sj>={^2001-1-1}