Hi
    Can anyone help me?
    I'm trying to put an index on a text column named invariant.

    I tried this command :

alter table cinvariant add index (invariant);
I got this:
ERROR 1170: BLOB column 'invariant' used in key specification without a key
length

ok so I tried this
 alter table cinvariant add index (invariant(375));
I got this:
ERROR 1089: Incorrect sub part key. The used key part isn't a string or the
used length is longer then the key part

i don't get it the length should be something around 2^16.
    Please give me an advice!
    Thanks in advance
    dacian


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to