当前位置: 代码迷 >> Oracle技术 >> '2012年10月09日13:47'类型的日期如何插入oracle数据库中
  详细解决方案

'2012年10月09日13:47'类型的日期如何插入oracle数据库中

热度:356   发布时间:2016-04-24 08:19:07.0
'2012年10月09日13:47'类型的日期怎么插入oracle数据库中
'2012年10月09日13:47'类型的日期怎么插入oracle数据库中???
------解决方案--------------------
先把中文去掉再调用to_date()转成date型
select to_date(regexp_replace('2012年10月09日13:47','[^0-9:]',''),'yyyymmddhh24:mi') from dual
  相关解决方案