Oracle的show processlist
复制代码 代码如下:
set linesize 400;
set pagesize 400;
col sql_text format a100;
col machine format a25;
col username format a15;
SELECT a.username,a.machine, b.sql_id, b.SQL_TEXT
FROM v$session a, v$sqlarea b
WHERE a.sql_address = b.address
AND a.SQL_HASH_VALUE = b.HASH_VALUE;
Oracle show full processlist
复制代码 代码如下:
set linesize 400;
set pagesize 400;
set long 4000;
col SQL_FULLTEXT format a100;
col machine format a25;
col username format a15;
SELECT a.username,a.machine, b.sql_id, b.SQL_FULLTEXT
FROM v$session a, v$sqlarea b
WHERE a.sql_address = b.address
AND a.SQL_HASH_VALUE = b.HASH_VALUE;
您可能感兴趣的文章:- Oracle中在pl/sql developer修改表的2种方法
- PL/SQL Dev连接Oracle弹出空白提示框的解决方法分享
- Oracle实现分页查询的SQL语法汇总
- Oracle SQL Developer显示的时间包含时分秒的设置方法