Article ID: 224986 - View products that this article applies to.
This article was previously published under Q224986
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 53975 (SQLBUG_70)
When viewing results in SQL Query Analyzer, the output of a COMPUTE clause is truncated at six characters and may show incorrect information. This is a display problem only. If the query is run from another tool, such as ISQL.exe or OSQL.exe, the correct output is displayed.
Use another query tool, such as ISQL.exe or OSQL.exe to run the query.
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:
232570For more information, contact your primary support provider.
(http://support.microsoft.com/kb/232570/ )INF: How to Obtain Service Pack 1 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
The following script demonstrates the problem:
In Query Analyzer, the following is displayed for the results:
Note that the final 2 is truncated from the sum in the COMPUTE clause.
----------- 2000002 sum =========== 200000
Contact us for more help
Connect with Answer Desk for expert help.