你的 字段dtCreate 含有时间(小时分秒)吗?
如果不含有就没问题。有时间的话可能有问题。
dtCreate<=to_date('2004-08-26','yyyy-mm-dd'))就不包括 dtCreate 是 2004-08-26 00:00:01的数据