oracle 中的trunc()函数及加一个月,一天,一小时,一分钟,一秒钟方法 转载
https://www.cnblogs.com/space-place/p/5145556.html
加一天,加一小时,加一分钟,加一秒:
|
1
2
3
4
5
6
|
selectsysdate +1 加一天 ,sysdate+1/24 加1小时,sysdate+1/(24*60) as 加1分钟,sysdate+1/(24*60*60) as 加1秒钟 from dual |
浙公网安备 33010602011771号