How to kill a session which is locked in Oracle apps
How to kill a session which is locked in
Oracle apps
This Article is used to explain how to kill
a session which is locked
a. Check
if the Package or table are locked using the below query
SELECT b.object_name,
a.session_id,
a.oracle_username,
a.os_user_name,
a.process,
a.locked_mode
FROM v$locked_object a,
all_objects b
WHERE a.object_id = b.object_id
If the Package or table is available in the
above query then we need to kill the session
b.
Get the serial number for the session based on the session id got from
above Query.
SELECT SID, serial#,
ownerid,
status,
server,
username,
osuser,
process,
machine
FROM v$session
WHERE SID = ‘Session id from
above query’
c. Command to kill the session
ALTER SYSTEM KILL SESSION 'Sid from query,
Serial# from Query 2'
Its impressive to know something about your note on Oracle apps Course. Please do share your articles like this your articles for our awareness. Mostly we do also provide Online Training on Cub training oracle apps course.
ReplyDeleteVery intersting notes on ebusiness Suite
ReplyDeletePlease do share your articles like this.THis link also useful to Find info On Oracle apps-jobs,interview tips,Resume preparation,functional issuesOracle eBusiness Suite