Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
FIX: Iterating Through SQL Mail Messages Using Extended Procedures Takes Longer in SQL Server 2000
Article ID: 290739 - View products that this article applies to.
This article was previously published under Q290739
BUG #: 351952 (shiloh_bugs)
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.
In SQL Server 2000, each call to a SQL Mail extended procedure causes a MAPI logon and logoff combination.
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:
(http://support.microsoft.com/kb/290211/EN-US/ )INF: How to Obtain the Latest SQL Server 2000 Service Pack
Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.
The script to iterate through a stack of SQL Mail messages might resemble the following: