MySQL Forums
Forum List  »  Newbie

Re: str_to_date formula not working please help
Posted by: Phillip Ward
Date: August 24, 2011 05:48AM

Quote

select str_to_date (closedate,'%d/%m/%Y %H:%i:%S') from opencall as date
In MySQL, function names must be immediately followed by their opening brace, as in
select str_to_date(closedate,'%d/%m/%Y %H:%i:%S') from opencall as date
Put a space between and, as you've discovered, it gets all confused.

Regards, Phill W.

Options: ReplyQuote




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.