SELECT c.value || ‘/‘ || d.instance_name || ‘_ora_‘ || a.spid || ‘.trc‘ trace FROM v$process a, v$session b, v$parameter c, v$instance d WHERE a.addr = b.paddr AND b.audsid = userenv(‘sessionid‘) AND c.name = ‘user_dump_dest‘;
2022-09-20 15:23:51
SELECT c.value || ‘/‘ || d.instance_name || ‘_ora_‘ || a.spid || ‘.trc‘ trace FROM v$process a, v$session b, v$parameter c, v$instance d WHERE a.addr = b.paddr AND b.audsid = userenv(‘sessionid‘) AND c.name = ‘user_dump_dest‘;