oracle得到当天的0点  select  trunc(sysdate)   from dual

 

得到两个时间相差多少天
select (addtime -trunc(sysdate))  from e_job

一个时间在两个时间之间
若是日期型,则可: a.acdate between trunc(sydate) and sysdate

两天之间
 starttime between trunc(sysdate-2) andsysdate

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2021-11-18
  • 2022-02-11
  • 2021-06-04
  • 2021-09-22
猜你喜欢
  • 2022-12-23
  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-25
  • 2022-12-23
相关资源
相似解决方案