Microsoft KB Archive/250493

From BetaArchive Wiki
Knowledge Base

Article ID: 250493

Article Last Modified on 10/7/2005


  • Microsoft SQL Server 6.5 Standard Edition

This article was previously published under Q250493

BUG #: 18916 (SQLBUG_65)


Using xp_sendmail with @query and @attach_results parameters causes a memory leak in Microsoft SQL Server 6.5. The @attach_results parameter must be included for the memory leak to occur.


A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next SQL Server service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

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

   Version          File name      Platform                 
   6.50.465         sql465i.exe    Intel  <BR/>
                    sql465a.exe    Alpha       

NOTE: Due to file dependencies, the most recent hotfix or feature that contains the above files may also contain additional files.


Do not use @attach_results with xp_sendmail.


Microsoft has confirmed this to be a problem in SQL Server 6.5.

Additional query words: memory leak xp_sendmail

Keywords: kbbug kbfix kbsqlserv650fix kbqfe KB250493