Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> inserted value too large for column

inserted value too large for column

From: <hamard_at_my-deja.com>
Date: Wed, 21 Jul 1999 22:14:46 GMT
Message-ID: <7n5go9$9up$1@nnrp1.deja.com>


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

Original text of this message

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