Step 1.Find the Connected Session , user specific
SQL>Select 'alter system kill session ''' || sid || ',' || serial# || ''' IMMEDIATE ;' from v$session where username = 'your_user_name';
Step 2 : Then Kill the Sessions.
SQL>Alter system kill session '86,2' IMMEDIATE;
Step 3: Drop user
SQL>Drop user your_user_name cascade;
SQL>Select 'alter system kill session ''' || sid || ',' || serial# || ''' IMMEDIATE ;' from v$session where username = 'your_user_name';
Step 2 : Then Kill the Sessions.
SQL>Alter system kill session '86,2' IMMEDIATE;
Step 3: Drop user
SQL>Drop user your_user_name cascade;
0 comments:
Post a Comment