FIX: Binding a Variable to More Than One Output Parameter May Cause an Access Violation (318171)
The information in this article applies to:
This article was previously published under Q318171
BUG #: 100768 (SQLBUG_70)
SYMPTOMS
If you bind a Transact-SQL local variable to more than one OUTPUT parameter for a stored procedure, the execution of the batch that includes the variable and stored procedure may fail with an access violation or may lead to an access violation for other SQL Server threads.
RESOLUTIONTo resolve this problem, obtain the latest service pack for Microsoft SQL Server 7.0. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
301511 INF: How to Obtain the Latest SQL Server 7.0 Service Pack
WORKAROUND
To work around this behavior, bind a local variable to only one unique OUTPUT parameter for a stored procedure execution.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft SQL Server 7.0 Service Pack 4.
Modification Type: | Major | Last Reviewed: | 4/25/2002 |
---|
Keywords: | kbbug KB318171 |
---|
|