"Lemasson Sylvain" <[EMAIL PROTECTED]> wrote:
> I try to add a primary key on a BLOB column and I have got an error (ERROR 1170:
> BLOB column 'value5' used in key specification without a key length).
> May be the answer is in the documentation but I did not find it. So how could I make
> my BLOB column a primary key?
You can create index on the prefix of the column:
http://www.mysql.com/doc/en/Indexes.html
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Egor Egorov
/ /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED]
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]