Oracle数据库查看一个进程是如何执行相关的实际SQL语句 代码如下:SELECT b.sql_text, sid, serial#, osuser, machine FROM v$session a, v$sqlarea b WHERE a.sql_address = b.address; 查询前台发出的SQL语句. 代码如下:select user_name,sql_text from v$open_cursor where sid in (select sid from (select sid,serial#,username,program from v$s