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
5338
August 03, 2011 02:09AM
2266
August 03, 2011 05:53AM
1907
August 03, 2011 09:31AM
2579
August 03, 2011 09:51AM
1736
August 03, 2011 11:48AM
1537
August 03, 2011 12:04PM
1746
August 03, 2011 12:23PM
1631
August 03, 2011 01:45PM
1605
August 04, 2011 11:55PM
1509
August 03, 2011 09:33AM
1570
August 03, 2011 09:43AM
1543
August 03, 2011 11:40AM
Re: set date format for column
1609
August 03, 2011 01:47PM
1685
August 03, 2011 01:01PM
1644
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.