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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: How to check/show long SQL statement?

RE: How to check/show long SQL statement?

From: Whittle Jerome Contr NCI <Jerome.Whittle_at_scott.af.mil>
Date: Wed, 20 Nov 2002 06:54:45 -0800
Message-ID: <F001.00507E03.20021120065445@fatcity.com>


First find the ADDRESS from v$sqlarea. Then run the following:

select sql_text from v$sqltext
where address = '87584444'
order by piece;

It's ugly but all there.

Jerry Whittle
ACIFICS DBA
NCI Information Systems Inc.
jerome.whittle_at_scott.af.mil
618-622-4145

> -----Original Message-----
> From: dist cash [SMTP:mccdba_at_hotmail.com]
>
> I need check what is SQL statement runnig on ORACLE. their have two view
> v$sql and v$sqlare. The entry "sql_text varchar2(1000)", it is too
> short to show SQL statement. Some of the sql Statement we use > 3000
> characters. Does their has way to check/show long SQL statement?
>
>
> Thanks.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Whittle Jerome Contr NCI
  INET: Jerome.Whittle_at_scott.af.mil

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: 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 Wed Nov 20 2002 - 08:54:45 CST

Original text of this message

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