本帖最后由 guogt2010 于 2011-11-03 09:01:12 编辑

解决方案 »

  1.   

    to_date({1},'yyyy-mm-dd')传进来的时间带时分秒?to_date({1},'yyyy-mm-dd hh24:mi:ss')
      

  2.   

    ORA-01840 input value not long enough for date formatCause: The data to be converted to date format was incomplete; the date format picture was longer than the input data.Action: Either add more input or shorten the date picture format, then retry the operation.--看一下表中qjsj的数据类型