Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Other SQL Server 2008 Topics
 Date format in to month and Year

Author  Topic 

zara_chd
Starting Member

7 Posts

Posted - 2011-10-11 : 08:37:11

Hi,

I Have this query :Select Distinct CONVERT(DATETIME, EDATE,103)AS EX_FDATE
FROM
RPTDB.DBO.XOPDATA
Result Format:2009-11-11 00:00:00.000

But i want result some thing like:11 Nov 2009 only

How can i get this result. Please help me

nigelrivett
Master Smack Fu Yak Hacker

3385 Posts

Posted - 2011-10-11 : 08:51:55
Duplicate
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=166509

==========================================
Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -