Subject | Re: unsuccessful metadata update key size too big for index RDB$6 |
---|---|
Author | Chooi-Ting |
Post date | 2003-10-20T00:43:27Z |
--- In firebird-support@yahoogroups.com, Helen Borrie <helebor@t...>
wrote:
does it means that if we are going to create an index key, the
combination field of the index must not > 253 bytes ?
rgds, chooi ting
wrote:
> At 09:00 PM 17/10/2003 +0000, you wrote:width
> >Any idea why I get the error (above) when I try to create the table
> >below?
> >
> >CREATE TABLE jobhistory (jobnum INTEGER not null,
>
> >id VARCHAR(255) not null UNIQUE,
>
> this is your problem. A UNIQUE constraint creates an index. Index
> is limited to 253 bytes, less if you are using a non-binarycollation,
> composite fields or a multi-byte character set.hi heLen,
>
does it means that if we are going to create an index key, the
combination field of the index must not > 253 bytes ?
rgds, chooi ting