@@LANGID (Transact-SQL)
SQL Server 2012
Returns the local language identifier (ID) of the language that is currently being used.
Returns the local language identifier (ID) of the language that is currently being used.