Subject | Re: [firebird-support] Key size too big?! |
---|---|
Author | Lester Caine |
Post date | 2004-06-04T15:31:13Z |
Jakub Hegenbart wrote:
field, but there are never more than 30 characters in the contents, so
the trigger just copies the first 32 characters to a VARCHAR and I index
on that :)
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
> Is it possible to overcome the limit with creating an extra column withYep. That works fine where MySQL provides an index on a large TEXT
> a truncated version of the field that gets inserted/updated using a
> trigger and can be indexed due to its length?
field, but there are never more than 30 characters in the contents, so
the trigger just copies the first 32 characters to a VARCHAR and I index
on that :)
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services