Hi.

Is it possible to use function such as year() in index key (like use subpart
for string field that it work)

I try  this
ALTER TABLE XXX ADD INDEX YYY (Year(DoBirth)); ---> error syntax error
ALTER TABLE XXX ADD INDEX YYY (DoBirth(4)); ---> error used key part isn't
string


Thanks.
Kittiphum Worachat,M.T.
www.hatyailab.com



---------------------------------------------------------------------
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