在线等待(SQL查询问题)
ntz 2003-05-13 04:32:51 Set rs = db.OpenRecordset("select device.ip,type.index from device,type where device.datetime>="& aaa &" and type.index="& ccc &")
datetime字段是日期型的,index字段是整型的
aaa是一个日期型的变量,index是一个整型的变量
这语句没错,但是比较出来的结果就不对,请问怎样比样日期大小呢(在数据库里)