How do you index just the first four bytes of the column?
Answers were Sorted based on User's Feedback
Answer / amith
ALTER TABLE customers ADD INDEX (business_name(4))
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / monika
alter table table_name add index(substr(column_name,1,4));
| Is This Answer Correct ? | 0 Yes | 0 No |
Table A has 5 rows and table B has 0 rows Cartesian join on A,B will have----rows
How to control the max size of a heap table?
Is mysql is a programming language?
How do you insert a table?
How big is a blob mysql?
How can we run batch mode in mysql?
What are the steps required to view your mysql database?
What do I do if I forgot my mysql root password?
What is the difference between mysql and oracle?
How do I free up space in mysql?
Where is the mysql database stored?
Does uninstalling mysql delete database?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)