how to change the date to time in oracle 10g

后端 未结 2 1409
终归单人心
终归单人心 2020-12-22 06:32

I have to put in STIMING a time when I insert I use TO_DATE function but it give me date not time and it should be time.

This is the table

2条回答
  •  渐次进展
    2020-12-22 07:10

    I suggest you to avoid updates, change your insert part from to_date with no formatting param to to_date( colname, 'DD-MON-YY HH24:MI:SS')

提交回复
热议问题