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
Try running:
select name ,alias, dateformat from syslanguages where langid = (select value from master..sysconfigures where comment = 'default language')
To see what language the system thinks it's using. SqlServer changes its date format based on that.