根据http://psoug.org/reference/date_func.html,这应该可以正常工作…
SELECT TRUNC(yourDateField, 'MONTH') FROM yourTable
Oracle,将日期时间设置为该月的第一天
根据http://psoug.org/reference/date_func.html,这应该可以正常工作…
SELECT TRUNC(yourDateField, 'MONTH') FROM yourTable