Subject | Re: [firebird-support] 60 chars in a 50 field |
---|---|
Author | Ann W. Harrison |
Post date | 2005-02-24T17:52:43Z |
Chad Z. Hower aka Kudzu wrote:
(aka UTC-8) checks for a byte-length overflow, but ignores character
length overflows. One argument is "If the string fits in the space, why
throw it out?" In the case of our system tables (nominally Unicode-FSS)
that's really important or every name would be limited to 10 characters.
Regards,
Ann
> I have a:Through the magic of variable length characters. Firebird's Unicode-FSS
> "Name" VARCHAR(50) NOT NULL,
>
> Its Unicode_FSS.
>
> Now somehow some of the columsn have 60 characters in them? I have intenral
> logic that is tripping up now because its "double" checking stuff from the
> db and noticed that 60>50.
>
> How can this be in the db?
(aka UTC-8) checks for a byte-length overflow, but ignores character
length overflows. One argument is "If the string fits in the space, why
throw it out?" In the case of our system tables (nominally Unicode-FSS)
that's really important or every name would be limited to 10 characters.
Regards,
Ann