MySQL Forums
Forum List  »  MySQL for Excel

Re: set date format for column
Posted by: Peter Brawley
Date: August 03, 2011 01:47PM

> SELECT * FROM `new` WHERE 1

> I did the first part.

The "first part" of what?

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

The "query part" of what?

> SELECT DATE_FORMAT(SaleDate, '%d/%m/%Y') FROM new
> the above brings up nulls

Then the column contains nulls.

PB

Options: ReplyQuote


Subject
Views
Written By
Posted
5558
August 03, 2011 02:09AM
2298
August 03, 2011 05:53AM
1936
August 03, 2011 09:31AM
2615
August 03, 2011 09:51AM
1770
August 03, 2011 11:48AM
1572
August 03, 2011 12:04PM
1785
August 03, 2011 12:23PM
1663
August 03, 2011 01:45PM
1645
August 04, 2011 11:55PM
1553
August 03, 2011 09:33AM
1607
August 03, 2011 09:43AM
1576
August 03, 2011 11:40AM
Re: set date format for column
1646
August 03, 2011 01:47PM
1721
August 03, 2011 01:01PM
1686
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.