MySQL Forums
Forum List  »  Newbie

Index on DateTime.
Posted by: R A
Date: July 27, 2005 09:25AM

Hello, I have a datetime column in a table and I'm just curious if a normal index is suitable for these type of columns? Also, when I use the EXPLAIN command to see what key is being used, it is using Date but I have no column named Date.
My where clause is as follows:
WHERE fin._Date >= '2004-05-01 00:00:00' AND fin._Date <= ' 2004-07-07 00:00:00'

Thanks in advance for nay advice.

Options: ReplyQuote


Subject
Written By
Posted
Index on DateTime.
R A
July 27, 2005 09:25AM
R A
July 27, 2005 09:34AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.