ORA-01940:cannot drop a user that is currently connected

ORA-01940:cannot drop a user that is currently connected

问题如题:

解决方法:

1.查询此用户的会话进程;

2.结束此用户的会话进程;

 

1  ALTER  SYSTEM  KILL  SESSION  ' 126,1147 ' ;

 

3.删除用户;

 

1  DROP   USER  username  CASCADE

 

你可能感兴趣的:(user)