select StringDate = convert(varchar(28),datename(dw,DT)+' '+datename(month,DT)+' '+datename(day,DT)+', '+datename(year,DT)), DTfrom ( --Test Data select DT= convert(datetime,'20090820') union all select DT= convert(datetime,'20090916') ) a
Results:StringDate DT---------------------------- -----------------------Thursday August 20, 2009 2009-08-20 00:00:00.000Wednesday September 16, 2009 2009-09-16 00:00:00.000(2 row(s) affected)
CODO ERGO SUM