ORACLE异常ORA-01843 || ORA-14411 || Invalid column index

nested exception is java.sql.SQLException: ORA-01843: not a valid month

   解:看to_date(?,'yyyymmdd')还是to_date(?,'yyyy-mm-dd'),和你输入的参数格式对比

nested exception is java.sql.SQLException: Invalid column index
   解:参数和数据数据输入列不匹配

ORA-14411 该 DDL 不能与其他 DDL 并行运行处理办法
   解:1.查找出被锁定的会话的sid,serial#

    select sid,serial# from v$session t where t.SID IN (select session_id from v$locked_object);

    2.结束掉进程

    alter system kill session 'sid,serial#';

 

posted @ 2020-04-01 16:50  四叶草的诗雨  阅读(6220)  评论(0编辑  收藏  举报