Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试将日期与此匹配。trunc(day,'DD')>= trunc('01-JAN-10','DD') 这有什么问题?
'day' 是 "10-JAN-10"
如果您有兴趣查找“day”字段大于 01-JAN-10 的所有记录,则可以使用以下 where 子句。如果有的话,这也将使用“day”字段上的索引:
where day >= to_date('2010/01/01','YYYY/MM/DD')