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: ReplyQuote


Subject
Views
Written By
Posted
5606
August 03, 2011 02:09AM
2310
August 03, 2011 05:53AM
1944
August 03, 2011 09:31AM
2625
August 03, 2011 09:51AM
1797
August 03, 2011 11:48AM
1586
August 03, 2011 12:04PM
1794
August 03, 2011 12:23PM
1674
August 03, 2011 01:45PM
1695
August 04, 2011 11:55PM
1568
August 03, 2011 09:33AM
1617
August 03, 2011 09:43AM
Re: set date format for column
1589
August 03, 2011 11:40AM
1657
August 03, 2011 01:47PM
1732
August 03, 2011 01:01PM
1695
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.