Important Formula


Trunc Date In Oracle. If you want to consider the different elements separately, you can use something like. In oracle, trunc function, when applied for a datetime value, truncates it to the specified part (to day, by default).

oracle 获得各种时间段 RockeyCui的博客
oracle 获得各种时间段 RockeyCui的博客 from cuishilei.com

Trunc function (with dates) description. I'd rather run query, and then check actual execution. Syyyy, yyyy, year, syear, yyy, yy, y: