Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2011

    Unanswered: how to catch sql sentence that throws an error


    An application is not working because throws the following oracle sql error:

    ORA-01406: fetched column value was truncated

    There are no developers whose maded this application and not source code ...

    I am trying to find out what sql sentence from this program is throwing this error ... and fix the column table size , ...

    Googling i've found that an solution could be create a system trigger to catch errores, but these trigger don't show this error and it happens ...

    is there any way to log all failed sql statements in oracle 10g - Stack Overflow

    Any way to get what sentence throws ora-01406 ??

    thank you

  2. #2
    Join Date
    Aug 2003
    Where the Surf Meets the Turf @Del Mar, CA
    Provided Answers: 1
    after eliminating all exception handlers, sqlplus will identify the exact line where error occurs.
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts