Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: SQL_text
boris wrote:
> How can I view the text of the query wich has been executed if the size of
> this text is bigger than 1000 bytes?
> thanks in advance.
You can query:
select st.sql_text
from v$sqlarea sa, v$sqltext st
where sa.hash_value = st.hash_value
order by st.hash_value, st.piece;