Oracle数据库查看用户状态
http://blog.itpub.net/25462274/viewspace-2073612/
一、当前ORACLE用户的状态可查看视图DBA_USERS;一般情况下在使用的正常用户均处于OPEN状态。
select username,account_status from dba_users;
二、ORACLE数据库用户有多种状态,可查看视图USER_ASTATUS_MAP。
select * from user_astatus_map;
http://blog.itpub.net/25462274/viewspace-2073612/
一、当前ORACLE用户的状态可查看视图DBA_USERS;一般情况下在使用的正常用户均处于OPEN状态。
select username,account_status from dba_users;
二、ORACLE数据库用户有多种状态,可查看视图USER_ASTATUS_MAP。
select * from user_astatus_map;