Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> inserted value too large for column
Hi there,
I'm looking on a solution to insert strings with length that exceed the column size. For the moment I have a exception evry time I attempt an insertion in the table, it's ok. but I want to truncate the string according the size of the column at the insertion and avoiding the exception "ORA-011401: inserted value too large for column".
Is it possible to use the substr function in the tregger?
After some tests, it seems that I can raise the exception. What is the name of the exception, like that I will be abale to catch the exception.
Thanks.
Kamel
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Received on Wed Jul 21 1999 - 17:14:46 CDT