Hi,
Let us assume that I create the following index on one of my tables.
I know (at least I think I doCode:CREATE INDEX added ON table ( date_field )) that the index will be used when I execute the following query.
My question is this. Will the index be used when I execute the following query?Code:DELETE FROM table WHERE date_field = CURDATE()
Yours, Erik.Code:DELETE FROM table WHERE date_field < DATE_SUB(CURDATE(), INTERVAL 14 DAY)



) that the index will be used when I execute the following query.





Bookmarks