Hi all:

I'm trying to catch a DDL generated by Crystal report.
I'm using the following query to do that:
select  sql_text
  from v$sqltext
where ( address, hash_value ) in
          (select sql_address, sql_hash_value
             from v$session
           where username = UPPER('&username'))
              order by piece
I am catching a SQL, but that SQL returns different
amount of rows than the report when executed through a
Crystal. Is there something wrong with my query (it is
running under Oracle 817) that makes it miss some
data? 

thanks 

Gene


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Gene Gurevich
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to