From: Martijn Tonies Date: April 11 2007 5:43pm Subject: Re: Can I create a index on a column of Type datetime? List-Archive: http://lists.mysql.com/mysql/206068 Message-Id: <031b01c77c60$f2993520$9902a8c0@martijnws> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit > I will very often do query like this: > > select * from mytable where create_date >='...' and create_date <='....' > > can I create a index on the column create_date? Have you tried it? > what is the best practise? Martijn Tonies Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle & MS SQL Server Upscene Productions http://www.upscene.com My thoughts: http://blog.upscene.com/martijn/ Database development questions? Check the forum! http://www.databasedevelopmentforum.com