不是已经回过了么
!你的错误是将mi写为mm!update dcr
set
dec_date=to_date('1999-10-8','yyyy-mm-dd') ,
dec_time=to_date('1999-10-8 10:20:03','yyyy-mm-dd hh24:mi:ss');
你的错误是将mi写为mm

解决方案 »

  1.   

    to_date('1999-10-8 10:30:3','yyyy-mm-dd 24hh:mm:ss') 错在这里
    改为:
    to_date('1999-10-8 10:20:03','yyyy-mm-dd hh24:mi:ss')将第二个mm 改为mi
      

  2.   

    to_date('1999-10-8 10:30:3','yyyy-mm-dd 24hh:mm:ss')错了.
    改成to_date('1999-10-8 10:30:3','yyyy-mm-dd hh24:mi:ss')分钟是:mi
    月是:mm
      

  3.   

    update dcr set dcr_date=to_date('1999-10-8','yyyy-mm-dd')
                   ,dcr_time=to_date('1999-10-8 10:30:3','yyyy-mm-dd hh24:mi:ss')