DATENAME(MONTH,GETADATE()) is returning numeric value of the month as '09'

前端 未结 5 1074
一个人的身影
一个人的身影 2020-12-20 02:03

When I run the following query [SELECT DATENAME(MONTH,GETDATE())], ideally speaking it should return value as \'September\' but its returning value as \'09\'. I am running t

5条回答
  •  误落风尘
    2020-12-20 03:02

    Nope, SELECT DATENAME(month, GETDATE()); returns September for me. I just tried it in SQL 2005 and 2008. Where are you executing this query? That may help as to why this is happening to you.

提交回复
热议问题