Drop User Command Help [message #253241] |
Mon, 23 July 2007 04:54 |
msrafeeq
Messages: 8 Registered: July 2007
|
Junior Member |
|
|
Dear Friends
While I am using the Drop User Command, I am getting the below message and I am unable to Drop the User Name.
SQL> DROP USER waelam1 CASCADE;
ERROR at line 1:
ORA-01940: Cannot drop a user that is currently connected
How can I disconnect this user name? and drop this user?
Please need advice.
Regards
Rafeeq
|
|
|
|
|
|
|
|
|
|
Re: Drop User Command Help [message #256445 is a reply to message #253241] |
Sat, 04 August 2007 15:45 |
surenhr
Messages: 45 Registered: August 2007 Location: gurgoan
|
Member |
|
|
Hi,
Simply connect through new user which have dba priviliges.
As been already stated SYS user is for maintenance purposes..
create user <test>/<test>@<SID>;
grant dba to test;
conn test/test@<SID>
now issue the drop command to drop the user you want to drop.
|
|
|
|
|