MySQL Forums
Forum List  »  InnoDB

Re: ifnull function error
Posted by: Vinod Sugur
Date: January 20, 2009 06:40AM

Hi Dahlia,

The query should be as given below:

===============
select datediff(ifnull(null,curdate()) ,'2008-12-12');
===============

Why do you need one more "select" clause ?

Regards,
Vinod

Options: ReplyQuote


Subject
Views
Written By
Posted
4804
January 20, 2009 03:08AM
Re: ifnull function error
2369
January 20, 2009 06:40AM


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.