what is purpose of order in mysql index -


i have table person in there field contact number want add indexing on contact number. in mysql purpose on ordering while indexing field.

index contact_number (contact_number asc))

right (mysql 5.7) asc/desc ignored mysql.

http://dev.mysql.com/doc/refman/5.7/en/create-index.html

an index_col_name specification can end asc or desc. these keywords permitted future extensions specifying ascending or descending index value storage. currently, parsed ignored; index values stored in ascending order.

if implemented day might useful composite indices: http://explainextended.com/2009/04/27/descending-indexes/


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -