oracle数据库可以这样写:
dim sss as string
sss="2000-05-19"
strSQL="select * from record where to_char(date1,'yyyy-mm-dd')='"+sss+"'"
rst.open strSQL,cnn,....