1.SELECT SESSION_ID FROM V$LOCKED_OBJECT,USER_OBJECTS WHERE V$LOCKED_OBJECT.OBJECT_ID=USER_OBJECTS.OBJECT_ID
2.SELECT SERIAL# FROM V$SESSION WHERE SID='513'
引处sid为1中查出session_id集合中的一个
3.ALTER SYSTEM KILL SESSION '513,4165'
此法不错!
1.SELECT SESSION_ID FROM V$LOCKED_OBJECT,USER_OBJECTS WHERE V$LOCKED_OBJECT.OBJECT_ID=USER_OBJECTS.OBJECT_ID
2.SELECT SERIAL# FROM V$SESSION WHERE SID='513'
引处sid为1中查出session_id集合中的一个
3.ALTER SYSTEM KILL SESSION '513,4165'
此法不错!