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

Home -> Community -> Mailing Lists -> Oracle-L -> check for sql text

check for sql text

From: Mohammad Rafiq <rafiq9857_at_hotmail.com>
Date: Tue, 17 Jul 2001 09:29:35 -0700
Message-ID: <F001.0034C4F8.20010717093112@fatcity.com>

Hi,
I am runnig following query under 7.3.4 which runs perfectly but same is returning no rows under 8.1.6.2. I could not figure it out why? Can somebody give me some hint or resolve it.... select piece, sql_text
from v$sqltext
where (address,hash_value) in

      (select sql_address,sql_hash_value
       from v$session
       where paddr = (select addr
                      from v$process
                      where spid = '&1'))
order by piece
/

Regards
Rafiq



Get your FREE download of MSN Explorer at http://explorer.msn.com

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Mohammad Rafiq
  INET: rafiq9857_at_hotmail.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (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). Received on Tue Jul 17 2001 - 11:29:35 CDT

Original text of this message

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