MySQL Forums
Forum List  »  Optimizer & Parser

Re: Query taking a lot of time if there is no record in table
Posted by: Aditi mittal
Date: May 04, 2009 01:30AM

Thanks for you help.

The version I am using is '5.0.45' which is not an old version.

The problem with using directly 'AND RATE_TIME = '2008-11-01' is that In Rate_time I am storing both date and time (2009-04-25 12:31:58) but while fetching I want records of current date so I have to use 'DATE(RATE_TIME)'.


Can you think of some other solution.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Query taking a lot of time if there is no record in table
2408
May 04, 2009 01:30AM


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.