摘要: /*1. 查看指定oracle 用户执行的sql语句历史记录. 注意:用户名要大写.*/select * from v$sqlarea t where t.PARSING_SCHEMA_NAME in ('ABC') order by t.LAST_ACTIVE_TIME desc;/*2. 查看指定用户的oracle会话.*/select * from v$session t where username = 'ABC' order by t.LOGON_TIME desc;/*3. 查看授予指定用户的角色*/select * from dba_role_pr 阅读全文
posted @ 2011-05-03 15:43 Jack Tang 阅读(135) 评论(0) 推荐(0) 编辑