--锁定用户
ALTER USER STORE ACCOUNT LOCK;
--查询进程号(sid,serial#)
select* FROM v$session WHERE username='STORE';
--删除对应的进程
ALTER SYSTEM KILL SESSION '862,3566';
--删除对应的用户
DROP USER STORE CASCADE;
--锁定用户
ALTER USER STORE ACCOUNT LOCK;
--查询进程号(sid,serial#)
select* FROM v$session WHERE username='STORE';
--删除对应的进程
ALTER SYSTEM KILL SESSION '862,3566';
--删除对应的用户
DROP USER STORE CASCADE;
本文标题:Oracle之删除用户
本文链接:https://www.haomeiwen.com/subject/kabpgqtx.html
网友评论