BUG: xp_sendmail with @query leaves temporary files on server

Article translations Article translations
Article ID: 151545 - View products that this article applies to.
This article has been archived. It is offered "as is" and will no longer be updated.
This article has been archived. It is offered "as is" and will no longer be updated.
BUG#: 15268 BUG#: 226802 (Shiloh_bug)
Expand all | Collapse all

Symptoms

If xp_sendmail is run with a query and @attach_results is true, temporary files are left in the System32 directory where Microsoft Windows NT is installed.

Workaround

  1. Use the optional parameter @attachments to specify the file name and only one file will be left in the System32 directory.
  2. Use the optional parameter @attachments to specify the file path to a temporary directory for easy cleanup later.

Status

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

Properties

Article ID: 151545 - Last Review: January 16, 2015 - Revision: 5.0
Applies to
  • Microsoft SQL Server 6.0 Standard Edition
  • Microsoft SQL Server 6.5 Standard Edition
  • Microsoft SQL Server 7.0 Standard Edition
Keywords: 
kbnosurvey kbarchive kbbug KB151545

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