oracle 修改时间字段的格式
在Oracle数据库中,修改表的时间字段,使用to_date()函数
比如以下代码:
update USBP_TAKE_OFF_POINT
set CREATE_TIME = to_date('2019-6-27 15:49:36','yyyy-mm-dd hh24:mi:ss')
where TAKE_OFF_POINT = 4;
在Oracle数据库中,修改表的时间字段,使用to_date()函数
比如以下代码:
update USBP_TAKE_OFF_POINT
set CREATE_TIME = to_date('2019-6-27 15:49:36','yyyy-mm-dd hh24:mi:ss')
where TAKE_OFF_POINT = 4;