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



The information in this article applies to:

  • Microsoft SQL Server 7.0

This article was previously published under Q254123
BUG #: 57352 (SQLBUG_70)

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 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 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.


Modification Type:MajorLast Reviewed:3/14/2006
Keywords:kbBug kbfix kbQFE kbSQLProg KB254123