troubleshooting Question

kill only one query in a session

Avatar of dbadm
dbadmFlag for Italy asked on
SQLOracle Database
1 Comment1 Solution10 ViewsLast Modified:
I've Oracle Databases with various versions: 11g,, 18c, 19c

My clients often ask me to kill a query that is taking a long time and I kill the session with the following statement:
alter system kill session 'sid,serial#' immediate;

Is there a possibility kill only one SQL_ID instead of the session?

Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros