Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Viewing Client SQL Commands Sent to Server

Re: Viewing Client SQL Commands Sent to Server

From: Sybrand Bakker <postmaster_at_sybrandb.demon.nl>
Date: Wed, 6 Oct 1999 18:56:56 +0200
Message-ID: <939229111.26657.0.pluto.d4ee154e@news.demon.nl>


select sql_text
from v$sql_text
where address =
(select sql_address
 from v$session
 where sid = <suspected sid>)
order by piece;

to find the sid
select sid, serial#, program
from v$session where type = 'USER';

Hth

--
Sybrand Bakker, Oracle DBA Received on Wed Oct 06 1999 - 11:56:56 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US