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: Capture Errorred SQL Statement

Re: Capture Errorred SQL Statement

From: Lothar Armbrüster <lothar.armbruester_at_rheingau.netsurf.de>
Date: 11 Feb 99 19:38:41 +0100
Message-ID: <882.711T2097T11784368@rheingau.netsurf.de>


On 10-Feb-99 17:35:32 gcwong wrote:

>Is there any Oracle tables which captures all SQL statements even if
>the statement fails the parsing or binding? I know that the
>sys.v_$sqlarea holds sql statements which have executed.

>I'm trying to debug a third party package which we use and I a partial
>statement on their dialog box but can't see the rest - I'm trying to
>load a table with data and I get an error which does not make sense.

You could try setting sql_trace=true for your session. In the trace file you can see the failed SQL statement. (At least if the parsing failed. I don't have experience tracing failed bindings.) To improve readability you should pass the trace file through tkprof.

Hope that helps,
Lothar

--

Lothar Armbrüster       | lothar.armbruester_at_rheingau.netsurf.de
Schulstr. 12            | lothar.armbruester_at_t-online.de
D-65375 Oestrich-Winkel |

Received on Thu Feb 11 1999 - 12:38:41 CST

Original text of this message

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