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
4963
August 03, 2011 02:09AM
2103
August 03, 2011 05:53AM
1761
August 03, 2011 09:31AM
2329
August 03, 2011 09:51AM
1578
August 03, 2011 11:48AM
1376
August 03, 2011 12:04PM
1580
August 03, 2011 12:23PM
1473
August 03, 2011 01:45PM
1431
August 04, 2011 11:55PM
1361
August 03, 2011 09:33AM
1420
August 03, 2011 09:43AM
Re: set date format for column
1383
August 03, 2011 11:40AM
1425
August 03, 2011 01:47PM
1530
August 03, 2011 01:01PM
1484
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.