joaotelles
asked on
Oracle 10g - ORA-01940: cannot drop a user that is currently connected
Hi,
Im trying to drop a user but its failing and it doesnt have any entry in the v$session..
SQL> drop user dpownera cascade;
drop user dpownera cascade
*
ERROR at line 1:
ORA-01940: cannot drop a user that is currently connected
SQL> select sid, serial# from v$session where username = 'DPOWNERA';
no rows selected
===
Is there a way to drop the user and its session in the same command?
What can I do if there isnt any seesions in the v$session for this user...? Maybe look somewere else?
Im trying to drop a user but its failing and it doesnt have any entry in the v$session..
SQL> drop user dpownera cascade;
drop user dpownera cascade
*
ERROR at line 1:
ORA-01940: cannot drop a user that is currently connected
SQL> select sid, serial# from v$session where username = 'DPOWNERA';
no rows selected
===
Is there a way to drop the user and its session in the same command?
What can I do if there isnt any seesions in the v$session for this user...? Maybe look somewere else?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That was the case. Tks.