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

ID: Q245631


The information in this article applies to:
  • Microsoft SQL Server version 7.0

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 version 7.0.


MORE INFORMATION

The following transact-SQL (T-SQL) code demonstrates this problem. The UPDATE does not really update the table, it merely updates a variable, and this is a stripped down version of a customer's reproduction scenario.


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 

Additional query words:

Keywords : kbSQLServ700bug
Version : winnt:7.0
Platform : winnt
Issue type : kbbug


Last Reviewed: December 17, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.