MySQL Forums
Forum List  »  MySQL for Excel

Re: set date format for column
Posted by: Suzanne Chipman
Date: August 03, 2011 11:40AM

SELECT * FROM `new` WHERE 1

I did the first part. I'm in the query part and am not sure what to write.

SELECT DATE_FORMAT(SaleDate, '%d/%m/%Y') FROM new

the above brings up nulls



Edited 1 time(s). Last edit at 08/03/2011 11:55AM by Suzanne Chipman.

Options: Reply• Quote


Subject
Views
Written By
Posted
5736
August 03, 2011 02:09AM
2363
August 03, 2011 05:53AM
2018
August 03, 2011 09:31AM
2716
August 03, 2011 09:51AM
1873
August 03, 2011 11:48AM
1653
August 03, 2011 12:04PM
1879
August 03, 2011 12:23PM
1757
August 03, 2011 01:45PM
1780
August 04, 2011 11:55PM
1651
August 03, 2011 09:33AM
1704
August 03, 2011 09:43AM
Re: set date format for column
1655
August 03, 2011 11:40AM
1708
August 03, 2011 01:47PM
1793
August 03, 2011 01:01PM
1774
August 03, 2011 01:08PM


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.