oracle
文章平均质量分 58
wanglu2003132
这个作者很懒,什么都没留下…
展开
-
oracle错误ORA-00054: resource busy and acquire with NOWAIT(转载)
Oracle杀死锁进程先查看哪些表被锁住了: 1、获得sid select b.owner, b.object_name, a.session_id, a.locked_mode from v$locked_object a, dba_objects b where b.object_id = a.object_id; 2、获得s...原创 2013-03-15 11:50:14 · 185 阅读 · 0 评论 -
SQL 笔记
用主表里的字段更新从表里的字段update 从表 c set c.字段 = (select z.字段 from 主表 z where c.外键 =z.主键) where exists (select 1 from 主表 z w...原创 2013-05-06 10:23:45 · 78 阅读 · 0 评论 -
处理inactive 状态的session
一,Session 状态说明可以通过v$session 视图的status列查看session 的状态。 STATUS VARCHAR2(8) Status of the session:ACTIVE - Session currently executing SQLINACTIVEKILLED - Session marked to...原创 2013-08-15 14:42:04 · 813 阅读 · 0 评论