MySQL Forums
Forum List  »  Newbie

Re: str_to_date formula not working please help
Posted by: Guelphdad Lake
Date: August 24, 2011 07:18AM

You are using a significantly out of date version of mysql. Any reason you don't upgrade?

STR_TO_DATE() is available as of MySQL 4.1.1

I found a solution I had written a while back and put it online for you here:
http://niagara.x10.bz/sql/varchartodate.shtml

If you can't figure it out let me know what you have problems with.

Essentially make a new column and convert your dates there and it will be easier to query them.

---------------
Guelphdad,
Moderator
forums.mysql.com

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.