Article ID: 245631 - View products that this article applies to.
This article was previously published under Q245631
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 56375 (SQLBUG_70)
When you perform an UPDATE on a table and the FROM clause contains an inner join of that table and a SELECT DISTINCT from the same table, SQL Server returns the following error message:
Server: Msg 8624, Level 16, State 8, Line 6
Internal SQL Server error.
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 2 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
254561For more information, contact your primary support provider.
(http://support.microsoft.com/kb/254561/ )INF: How to Obtain Service Pack 2 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
The following transact-SQL (T-SQL) code demonstrates this problem.