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

Article translations Article translations
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)
Expand all | Collapse all

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
				

Properties

Article ID: 245631 - Last Review: October 26, 2013 - Revision: 3.0
Applies to
  • Microsoft SQL Server 7.0 Standard Edition
Keywords: 
kbnosurvey kbarchive kbbug kbfix KB245631

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com