Just Run the Below Script and after this kill the session :
select owner||’.’||object_name obj
,oracle_username||’ (‘||s.status||’)’ oruser
,to_char(s.logon_time,’yyyy/mm/dd hh24:mi:ss’) time
from v$locked_object l
where l.object_id = o.object_id
order by osuser, ss, obj ;
To kill the session :
Alter System kill Session ‘Sid,Serail#’ immediate ;
Published by Osama Mustafa
Osama considered as one of the leaders in Cloud technology, DevOps and database in the Middle-East. I have more than ten years of experience within the industry. moreover, certfied 4x AWS , 4x Azure and 6x OCI, have also obtained database certifications for multiple providers.
In addition to having experience with Oracle database and Oracle products, such as middle-ware, OID, OAM and OIM, I have gained substantial knowledge with different databases.
Currently, I am architecting and implementing Cloud and DevOps. On top of that, I'm providing solutions for companies that allow them to implement the solutions and to follow the best practices.
View all posts by Osama Mustafa
One thought on “Check who Use the same record you want to delete”
this topic Would be, Check who Use the same table you want to delete,this above query Display Tables not the particular recordthank-you