Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Exception inserted value too large for column
Hi everybody,
Nicolas Bronke <news_at_TRINITY.de> wrote in message
news:379c668c_at_news.uk.ibm.net...
>
> <sganesh_at_apple.com> schrieb in im Newsbeitrag: 379b5572_at_discussions...
> >
> > You can use
> > substr(string_in_hand,1,column_length) in that
> > insert.
> >
I already tried this solution, but I will not use it. The reason is: I want my applications independently of the databases. In the solution above, the column_length is hard coded.
> or let do them in the trigger before insert/before update
>
I am interested to this one. I already used substr in the trigger before insert, but as result I have always the exception, which I don't want to have! Any idea how to resolve it?
Thx for your help.
Kamel. Received on Mon Jul 26 1999 - 21:00:46 CDT