Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Help: Is there any way I can catch the sql that calls the function from inside the function?
Group,
I wrote a function like this
select sql_text into result from v$session a,v$sql b where a.sql_address = b.address
and a.sql_hash_value = b.hashvalue and a.audsid = sys_context('USERENV','SESSIONID');return result;
Is there any way of doing it?
Thanks very much for your help. Received on Thu Nov 10 2005 - 18:29:04 CST
![]() |
![]() |