oracle kill session

Solutions on MaxInterview for oracle kill session by the best coders in the world

showing results for - "oracle kill session"
Lily
19 Oct 2020
1-- Get ORACLE Session IDs (SID and SERIAL#)
2SELECT SID, SERIAL#, STATUS, SERVER FROM V$SESSION WHERE USERNAME = '<username>';
3-- Kill session (and wait for rollback if any...)
4ALTER SYSTEM KILL SESSION 'SID,SERIAL#' IMMEDIATE;