FIX: Iterating Through SQL Mail Messages Using Extended Procedures Takes Longer in SQL Server 2000

Article translations Article translations
Article ID: 290739 - View products that this article applies to.
This article was previously published under Q290739
BUG #: 351952 (shiloh_bugs)
Expand all | Collapse all

SYMPTOMS

Iterating through SQL Mail messages by using SQL Mail extended stored procedures may take a longer amount of time than in earlier versions of SQL Server.

CAUSE

In SQL Server 2000, each call to a SQL Mail extended procedure causes a MAPI logon and logoff combination.

RESOLUTION

To resolve this problem, obtain the latest service pack for 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

STATUS

Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.

MORE INFORMATION

The script to iterate through a stack of SQL Mail messages might resemble the following:
while /* condition */ 
begin
   xp_findnextmsg /* params */ 
   xp_readmail /* params */ 
end
				

Properties

Article ID: 290739 - Last Review: November 5, 2003 - Revision: 3.2
APPLIES TO
  • Microsoft SQL Server 2000 Standard Edition
Keywords: 
kbbug kbfix kbsqlserv2000sp1fix KB290739

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