Wednesday, September 16, 2015

Oracle Queries/Commands to Kill Session

select * from v$access 

where object = 'XX_PACKAGE_NAME';


/* Pick the sids from above query and pass to the below query */

select * from v$session

where sid in (322,368);


Syntax: ALTER SYSTEM KILL SESSION 'SID,SERIAL#';


ALTER SYSTEM KILL SESSION '322,48848';

No comments:

Post a Comment

Query to list the Oracle RICEW Objects

Pass the application short name &APP_SHORT_NAME parameter to find RICE objects for the particular application and include any exclusion ...