Article ID: 254123 - Last Review: March 14, 2006 - Revision: 2.0

FIX: Incorrect Values for Datetime, Smalldatetime, and Money Types With Big-Endian Client

This article was previously published under Q254123
BUG #: 57352 (SQLBUG_70)
Expand all | Collapse all

SYMPTOMS

Selecting datetime, smalldatetime, or money values from a SQL Server, which uses a big-endian client, returns incorrect results. If the column is converted to a character string, the correct value is retrieved.

CAUSE

The bytes are not swapped correctly when sent back to a big-endian client.

RESOLUTION

To resolve this problem, obtain the latest service pack for SQL Server 7.0. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
301511  (http://support.microsoft.com/kb/301511/EN-US/ ) INF: How to Obtain the Latest SQL Server 7.0 Service Pack

STATUS

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

MORE INFORMATION

The Sybase CT-Lib client is the only known big-endian client that can connect to SQL Server.


APPLIES TO
  • Microsoft SQL Server 7.0 Standard Edition
Keywords: 
kbbug kbfix kbsqlprog kbqfe KB254123
 

Article Translations

 

Related Support Centers