www.Inmagic.com    Inmagic Forums    Inmagic Forums  Hop To Forum Categories  ODBC    How to display a Date in a particular date format string?
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
MF
Posted
How can I query to get a date field formatted in a specific date format string? For example, I would like the query to return "June 15, 2009".

When I query
SELECT MyDate FROM MyTable
I get '6/15/2009'

When I query
SELECT {fn CONVERT(MyDate, SQL_VARCHAR)} FROM MyTable
I get '2009-06-15'

Any suggestions?
 
Posts: 6 | Registered: Tue August 21 2007Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

www.Inmagic.com    Inmagic Forums    Inmagic Forums  Hop To Forum Categories  ODBC    How to display a Date in a particular date format string?