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 trigger in mysql?

675


How do I copy a table in mysql?

681


What is the difference between the primary and unique key in mysql?

669


In a property booking section want a query to check that property is booked from StartDate to EndDate.Booking Table field are given id proerty_id start_date checkout_date no_of_visitor booking date status Waiting yours answer.. Thanks In Advance...

2860


Is sql similar to mysql?

648


Where’s database data actually stored?

719


What is the latest mysql version?

668


How to include character strings in sql statements?

644


What is the default port number of mysql?

692


What is the query to display top 20 rows?

779


What is the difference between the LIKE and REGEXP operators?

724


How large can a mysql table be?

667


what is the difference between gui testing and database testing? : Mysql dba

705


How do you use auto increment?

697


How to get nth highest salary from table in a mysql?

697