How do you index just the first four bytes of the column?

Answer Posted / amith

ALTER TABLE customers ADD INDEX (business_name(4))

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is mysql workbench used for?

601


How do you flush privileges?

610


what is the difference between the nvl function, ifnull function, and the isnull function? : Mysql dba

601


How to make a copy values from one column to another in mysql?

646


What are the differences between binary and varbinary?

601






Can I use mysql for free?

553


How do I create a new database in mysql?

558


How to show all records starting with the letters 'sonia' and the phone number '9876543210'

602


What is the current version of mysql?

566


Why do we use views instead of tables?

566


What is blob storage?

582


How do I change a procedure in mysql?

560


Explain the different types of mysql joins.

575


How to upload a large file through phpmyadmin in mysql?

515


What is the difference between primary key and candidate key?

579