01-02-2015, 06:45 AM
How to Kill session in database after closing the browser
Select
C.Owner,
C.Object_Name,
C.Object_Type,
B.Sid,
B.Serial #,
B.Status,
B.Osuser,
B.Machine
From
V $ Locked_Object A,
V $ Session B,
Dba_Objects C
Where
B.Sid = A.Session_Id And
A.Object_Id = C.Object_Id;
Alter System Kill Session '884,269';
Select
C.Owner,
C.Object_Name,
C.Object_Type,
B.Sid,
B.Serial #,
B.Status,
B.Osuser,
B.Machine
From
V $ Locked_Object A,
V $ Session B,
Dba_Objects C
Where
B.Sid = A.Session_Id And
A.Object_Id = C.Object_Id;
Alter System Kill Session '884,269';