05-12-11, 11:30 #1Registered User
- 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 ??
05-12-11, 15:47 #2Registered User
Provided Answers: 1
- Join Date
- Aug 2003
- Where the Surf Meets the Turf @Del Mar, CA
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.