kill all sessions of a special user
611050Jun 22 2009 — edited Jun 23 2009Hi all,
I'm not very familar with PL/SQL but I think this will help my on my "issue".
Sometimes I need to kill all current sessions (most times 36 sessions) of a single database user.
All sessions have a different sid and serial# and manually executing "alter system kill session 'xxx,yyyy' isn't really funny.
Im thinking of a small PL/SQL script which receives the dbuser name as parameter and then killing all sessions of the user.
Could please anyone give ma a hint or a short example on this??
Many Thanks
Joerg
Edited by: Joerg Lang on 22.06.2009 12:38