MySQL Forums
Forum List  »  Newbie

How to use GET_FORMAT on a query?
Posted by: William Stokes
Date: May 06, 2005 12:50AM

Hello,
I have a following select query:

SELECT event_id,name,date,time,place,type,info FROM test_table
WHERE (group = '$group') AND (type = 'Game' OR type = 'training')
ORDER BY date ASC

The date is stored to DB in format YYYY-MM-DD. I need to output the date at european style like: dd.mm.yyyy. I picked this "GET_FORMAT(date,'EUR')" up from the manual but cant get it to work in the the test environment. Can some help please?

Thanks a lot
-Will

Options: ReplyQuote


Subject
Written By
Posted
How to use GET_FORMAT on a query?
May 06, 2005 12:50AM


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.