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

Article translations Article translations
Article ID: 313005 - View products that this article applies to.
This article was previously published under Q313005
BUG #: 356034 (SHILOH_BUGS)
Expand all | Collapse all

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.

Properties

Article ID: 313005 - Last Review: September 26, 2005 - Revision: 4.2
APPLIES TO
  • Microsoft SQL Server 2000 Standard Edition
Keywords: 
kbhotfixserver kbqfe kbsqlserv2000sp3fix kbbug kbfix kbsqlserv2000presp3fix KB313005

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