摘要: 编译存储过程时候没响应,之后提示 ORA-O4012解决办法:1、查出哪个进程占用了对象dba_ddl_locks 中查询出SID SERIAL#2、alter system kill session ' sid,serial#'3、如果第二步失败:需要到服务器端删除相关的进程(UNIX)或线程(w... 阅读全文
posted @ 2014-08-15 15:37 达尔萌 阅读(4393) 评论(0) 推荐(0) 编辑
摘要: 1、round(to_number(date1-date2))2、 to_date(to_char(date1,'yyyymmdd'),'yyyymmdd')-to_date(to_char(date2,'yyyymmdd'),'yyyymmdd') 阅读全文
posted @ 2014-08-15 09:08 达尔萌 阅读(2243) 评论(0) 推荐(0) 编辑