Microsoft KB Archive/245631

From BetaArchive Wiki
Knowledge Base


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

Article ID: 245631

Article Last Modified on 3/14/2006



APPLIES TO

  • Microsoft SQL Server 7.0 Standard Edition



This article was previously published under Q245631

BUG #: 56375 (SQLBUG_70)

SYMPTOMS

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.

STATUS

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)
GO
DECLARE @temp INT
UPDATE t
SET @temp = d.col1
FROM test t INNER JOIN ( SELECT DISTINCT col1 FROM test ) AS d
 ON t.col1 = d.col1
GO
                

Keywords: kbbug kbfix KB245631