Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: Month Name

    Function MonthNamex(@mm numeric (2))

    as

    select case when @mm not between 1 and 12 then 'Invalid Month' else datename(mm,str(@mm)+'/04/2011') end

Viewing post 1 (of 1 total)