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
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.