Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
My actual error is :
ORA-12801: Error in parallel query server P000, instance desp11hr: VPS1 (1) displayed ORA-01861: Literal does not match format string
I want to code : PRAGMA EXCEPTION_INIT (E_WRONG_DATE_FORMAT, -01861);
But it does not catch the exception.
So, I had to code: PRAGMA EXCEPTION_INIT (E_WRONG_DATE_FORMAT, -12801);
How to handle ORA-01861 directly ?