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 do I get column name that causing ORA-01438

Re: How do I get column name that causing ORA-01438

From: Syed Jaffar Hussain <sjaffarhussain_at_gmail.com>
Date: Wed, 21 Feb 2007 23:32:41 +0300
Message-ID: <97b7fd2f0702211232m1b72ffa2yb1cbf529847644ec@mail.gmail.com>


Mladen,

Yes, I do set the event to trace the culprit. The problem is that when I enable this event, Oracle is taking around 6 second to return the error msg. on the sql prompt. And ours is a very high OLTP application where around 500 tps take places.
We have request Oracle for an enhancement. Because, when constraints violates, Oracle do gives the constrain name and details, likewise, I would like to have so and so column in the particular table is the culprit.

Regards

Jaffar

On 2/21/07, Mladen Gogala <mgogala_at_vmsinfo.com> wrote:
>
> Syed Jaffar Hussain wrote:
> > Hi List,
> >
> > Is there a way though which I can found out the column name causing an
> > ORA-01438?
> > I tried tracing the session, unfortunately, the trace file doesn't
> > have any cluses about the column causing this error.
> > Any link or workaround is appreciated.
> ALTER SESSION SET EVENTS='1438 TRACE NAME ERRORSTACK FOREVER, LEVEL 12';
>
> --
> Mladen Gogala
> Sr. Oracle DBA
> Video Monitoring Systems
> 1500 Broadway
> New York City, NY 10036
> Phone: (212) 329-5201
> Email: mgogala_at_vmsinfo.com
>
>
>
>

-- 
Best Regards,
Syed Jaffar Hussain
Oracle ACE
8i,9i & 10g OCP DBA

http://jaffardba.blogspot.com/
http://www.oracle.com/technology/community/oracle_ace/ace1.html#hussain
----------------------------------------------------------------------------------
"Winners don't do different things. They do things differently."

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Feb 21 2007 - 14:32:41 CST

Original text of this message

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