------解决方案-------------------- 工具-会话-定义会话查询(一个扳手一样的图标)-详细资料-sql文本修改为如下内容 select sql_text from v$sqltext_with_newlines where address = hextoraw(decode(:sql_hash_value,0,:PREV_SQL_ADDR,:sql_address)) and hash_value = decode(:sql_hash_value,0,:prev_hash_value,:sql_hash_value) order by piece /* concatenate */
------解决方案--------------------