Microsoft KB Archive/313005

= FIX: SELECT from Computed Column That References UDF Causes SQL Server to Terminate =

Article ID: 313005

Article Last Modified on 9/26/2005

-

APPLIES TO


 * Microsoft SQL Server 2000 Standard Edition

-



This article was previously published under Q313005



BUG #: 356034 (SHILOH_BUGS)



SYMPTOMS
A SELECT statement may generate an exception that causes the SQL Server instance to terminate unexpectedly if all of the following conditions are true:
 * The SELECT statement retrieves a computed column.
 * The computed column references a user defined function (UDF).
 * The UDF accesses table data.
 * An implicit data type conversion is necessary for one of the UDF parameters.

No stack dump or other message related to the exception is written to the SQL Server error log.



RESOLUTION
To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

290211 INF: How To Obtain the Latest SQL Server 2000 Service Pack

NOTE: The following hotfix was created before the release of Microsoft SQL Server 2000 Service Pack 3.

The English version of this fix should have the following file attributes or later:

'SQL Server 2000 Service Pack 1'

This hotfix build is designed to be applied on a server that is running SQL Server 2000 Service Pack 1:   Version       File name        Description

8.00.0469    Sqlservr.exe     SP1-based hotfix 'SQL Server 2000 Service Pack 2'

This hotfix build is designed to be applied on a server running SQL Server 2000 Service Pack 2:   Version       File name       Description

8.00.0552    Sqlservr.exe    SP2-based hotfix NOTE: Because of file dependencies, the most recent hotfix or feature that contains the files may also contain additional files.



STATUS
Microsoft has confirmed that this is a problem in Microsoft SQL Server 2000.

This problem was first corrected in Microsoft SQL Server 2000 Service Pack 3.

Keywords: kbbug kbfix kbsqlserv2000presp3fix kbqfe kbsqlserv2000sp3fix kbhotfixserver KB313005

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.