Click here to Skip to main content
15,895,746 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Dear All,

I want to display date format like
Jan 15, 2013 

how to do it..
Posted

1 solution

try as follows
SQL
SELECT CONVERT(VARCHAR(12), GETDATE(), 107) AS [Mon DD, YYYY]

you will get the output
Mon DD, YYYY
------------
Jan 20, 2013
 
Share this answer
 
Comments
Tharaka MTR 20-Jan-13 1:42am    
y is this negative voting? is this answer not correct?
vazid ali 30-May-13 5:04am    
query for change same date in DD Mon,YYYY format

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900