Oracle问题之literal does not match format string

Posted 一只猫的旅行

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Oracle问题之literal does not match format string相关的知识,希望对你有一定的参考价值。

问题:
oerr ora 1861
01861, 00000, "literal does not match format string"
// *Cause: Literals in the input must be the same length as literals in
// the format string (with the exception of leading whitespace). If the
// "FX" modifier has been toggled on, the literal must match exactly,
// with no extra whitespace.
// *Action: Correct the format string to match the literal.
 
 
解决方案:
to_date(‘2010-5-1‘,‘YYYY-MM-DD‘)" 

以上是关于Oracle问题之literal does not match format string的主要内容,如果未能解决你的问题,请参考以下文章

解决sqoop 导入oracle表时 --split-by参数为日期类型时的报错:ORA-01861: literal does not match format string

ORA-01861: literal does not match format string

Oracle重启 error: ora-01034:oracle not available ora-27101:shared memory realm does not exist

ORA-01034:ORACLE not available ORA-27101:shared memory realm does not exit

shared memory realm does not exist

ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist