select t.createtime,SUBSTR(t.createtime, 0, 10),
SUBSTR(t.createtime, 0, 13),
SUBSTR(t.createtime, 0, 16) ,SUBSTR(t.createtime, 0, 19)
from OA_EDDOCUMENT t where 1=1

substr()截取字符串信息

substr()截取字符串信息
select to_char(to_date(SUBSTR(t.createtime, 0, 16),‘yyyy-MM-dd HH24:mi’), ‘yyyy-MM-dd HH24:mi’) as CREATETIME
from OA_EDDOCUMENT t where 1=1

相关文章:

  • 2021-10-12
  • 2022-12-23
  • 2022-12-23
  • 2022-02-09
  • 2021-06-24
  • 2022-02-26
  • 2021-06-13
猜你喜欢
  • 2022-02-09
  • 2021-12-26
  • 2022-12-23
  • 2021-11-30
  • 2022-02-04
相关资源
相似解决方案