Re: Format() Function in MS SQL



try
=CONVERT(smalldatetime,DATENAME(m, GETDATE()) + ' 1,' + DATENAME(yy,
GETDATE()))

HTH,
Stu

.