oracle中的to_date('date','pattern')

其中的date和pattern格式应该要一样

SELECT to_date('2016-03-29 00:00:00','yyyy-MM-dd hh24:mi:ss') from dual 这样是可以的,

但是如果是

SELECT to_date('2016-03-29 00:00:00','yyyyMMdd hh24:mi:ss') from dual

就是不行的

 

相关文章:

  • 2021-05-23
  • 2022-12-23
  • 2021-10-27
  • 2021-08-30
  • 2021-08-15
  • 2022-01-18
  • 2021-12-26
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-03
  • 2022-12-23
  • 2021-10-12
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案