Date/Time Functions – @@LANGUAGE

I can almost see the end of my writing of short articles or tidbits on Transaction SQL date/time functions. We already talked about functions like DATENAME() that returns the month or day of a given date/time variable as as string. How does this function know what to return when the default language is Russian? Today, I will be talking about @@LANGUAGE, a configuration function which returns the current session value and SET LANGUAGE, a set statement which changes the value for the current session (SPID). Last but not least, the…