FIX: @@language Value Can Be Truncated After Changing Value

Article translations Article translations
Article ID: 196771 - View products that this article applies to.
This article was previously published under Q196771
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 53101 (SQLBUG_70)
Expand all | Collapse all


If SET LANGUAGE is used to change a client's current language setting or @@LANGUAGE to a language with a shorter name and then back to the original language, @@LANGUAGE is truncated to the length of the shorter language name plus one byte.


Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 1 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
232570INF: How to Obtain Service Pack 1 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
For more information, contact your primary support provider.

More information

If a client changes from "us_english" to "german" and back to "us_english", @@LANGUAGE contains "us_engl" rather than "us_english".


Article ID: 196771 - Last Review: November 2, 2013 - Revision: 3.0
Applies to
  • Microsoft SQL Server 7.0 Standard Edition
kbnosurvey kbarchive kbbug kbfix kbsqlserv700sp1fix KB196771

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from