Exception: ORA-01438: value larger than specified precision allowed for this column [message #580168] |
Thu, 21 March 2013 01:51  |
 |
abhinavbhasker
Messages: 3 Registered: September 2012 Location: Bangalore
|
Junior Member |
|
|
Hello Guys,
I am trying to do bulk insert into a table. Attached is the script I am running:
But when I run this script I get exception : 'ORA-01438: value larger than specified precision allowed for this column'.
I have checked in my soucre table as well as in inserting table, everything looks fine to me.
Could some one please help me know how to handle such exception, which could actually tell me for what column and what data it is throwing exception.
Thanks in advance.
Regards
Abhinav
[EDITED by LF: fixed topic title typo; was "Excepyion"]
[Updated on: Thu, 21 March 2013 03:04] by Moderator Report message to a moderator
|
|
|
|
|
|
|
|
|
Re: Excepyion: ORA-01438: value larger than specified precision allowed for this column [message #580196 is a reply to message #580189] |
Thu, 21 March 2013 03:55  |
cookiemonster
Messages: 13967 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
Lock time on the table? I think you've got oracle confused with sqlserver.
What locking do you think is happening?
All things being equal a direct insert should be noticabely faster, if it's not I'd look at tuning the insert, not going to bulk collect.
As for the error, if the error message doesn't say then all you can do is test each column individually, and that's way more hassle than it's worth.
Save exceptions will at least tell you which rows had problems.
|
|
|