Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: value too large why oh why?
Steve Howard írta:
> On Feb 10, 1:41 pm, "prunoki" <hegyv..._at_ardents.hu> wrote:
> > I found out that every national character counts as two against the
> > permitted length and substr is not aware of that. After converting the
> > data type to nvarchar2(50) it works. This is something I am not used
> > to as I can usually pick the database charset (XE did not let this for
> > me). What is going to byte me next when using XE?
> >
> > Cheers.
> >
> > Krisztian
>
> Hi,
>
> Try substrb()
>
> HTH,
>
> Steve
Thanks, I was not aware of that. I guess I will be converting my varchars into nvarchars though, otherwise I cannot tell the user how long that box will be. Oracle set a nice little trap here.
K Received on Sun Feb 11 2007 - 06:06:55 CST
![]() |
![]() |