Script to Kill long running queries
AzmatDec 2 2012 — edited Apr 18 2013Hi Friends,
Would be obliged if someone can help me with the following required script.
I need a script please which kills any session recieved from a certain user (i.e userA) which stays on the DB for more then 5 minutes. if a query has been executing for more then 5 minutes it should be killed by the script.
Any help would be highly appreciated my friends :)
regards
Azmat