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

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)
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 originallanguage, @@LANGUAGE is truncated to the length of the shorter languagename 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: 11/02/2013 23:50:00 - Revision: 3.0

  • Microsoft SQL Server 7.0 Standard Edition
  • kbnosurvey kbarchive kbbug kbfix kbsqlserv700sp1fix KB196771