Answers for "mysql force query to use index"

SQL
0

mysql force query to use index

/* if mysql is dumb and using wrong index you can force it to use
the one you want like so:*/
select name from users USE INDEX (index4) where name='hello';
Posted by: Guest on April-12-2022

Code answers related to "SQL"

Browse Popular Code Answers by Language