FIX: Error Message "8624 - Internal SQL Server Error"

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:
254561 INF: How to Obtain Service Pack 2 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
For more information, contact your primary support provider.
More information
The following transact-SQL (T-SQL) code demonstrates this problem.
CREATE TABLE test (col1 INT)GODECLARE @temp INTUPDATE tSET @temp = d.col1FROM test t INNER JOIN ( SELECT DISTINCT col1 FROM test ) AS d ON t.col1 = d.col1GO				

Article ID: 245631 - Last Review: 10/26/2013 04:20:00 - Revision: 3.0

Microsoft SQL Server 7.0 Standard Edition

  • kbnosurvey kbarchive kbbug kbfix KB245631