Oracle date format picture ends before converting entire input string

前端 未结 4 1156
南方客
南方客 2021-01-11 09:55

My table has two DATE format attributes, however, when i try to insert value it throws an error: date format picture ends before converting entire input string.

4条回答
  •  醉梦人生
    2021-01-11 10:33

    I had this error today and discovered it was an incorrectly-formatted year...

    select * from es_timeexpense where parsedate > to_date('12/3/2018', 'MM/dd/yyy')
    

    Notice the year has only three 'y's. It should have 4.

    Double-check your format.

提交回复
热议问题