Subject | Re: unsuccessful metadata update, key size too big for index |
---|---|
Author | h_urlaf |
Post date | 2004-02-05T14:17:36Z |
Martijn Tonies wrote:
wrote:
Emiliano
> Ah no, it's not a matter of how many constraints, but the total--- In firebird-support@yahoogroups.com, Helen Borrie <helebor@t...>
> size of a single constraint.
wrote:
> No, you haven't got it straight yet. It is not the constraints, itBingo! Thank you guys, got that now.
> is the limit on the size (width) of any index. The limit is 253
> BYTES (not characters). So, if you have a VARCHAR or a CHAR of 100
> UNICODE_FSS characters, it is too large to index.
> To index those columns, you would have to reduce their size toDropping the size to 80 does work, thanks!
> VARCHAR(84) or less. CHAR is not a good type for variable data or
> for wide indexes, because it pads the data out to full width.
Emiliano