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
The only thing I can think of would be collation causing that, but I can't find any specific examples of a collation that would do that. The other possibility could be the language which also sets date format. I'm a bit mystified, but these are places to start.