I know this is an elementary question, but I am getting two sets of
instructions from different MySQL manuals about setting an index on a prefix
of a column of a table.  One says to use:

KEY indexName (colName(length))

and the other says to use

INDEX indexName (colName(length))

Are both all right?  Any light shed on indexing columns would be much
appreciated.

Thanks,

John


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to