The information in this article applies to:
SYMPTOMSA stored procedure created with a text/image parameter may cause a handled access violation (AV) when executed through dbrpcexec or Transact- SQL. CAUSE
SQL Server fails to handle the text parameter properly when re-mapping
stored procedure variables after the stored procedure was bumped out of
procedure cache.
WORKAROUNDBecause this would not happen the first time a stored procedure is loaded into procedure cache, drop and recreate the stored procedure, which should avoid the problem. Another way to avoid the problem would be to fake a call to the stored procedure with the length of the text/image parameter that is shorter than 2048 bytes, then call it with the real value. For example:
STATUSMicrosoft has confirmed this to be a problem in Microsoft SQL Server version 6.0. This problem was corrected in Service Pack 2 for SQL Server version 6.0. For more information, contact your primary support provider. MORE INFORMATIONThe following script demonstrates the problem:
Additional query words: sql6 windows nt sproc sp
Keywords : kbprg SSrvProg SSrvTran_SQL kbbug6.00 kbfix6.00.sp2 |
Last Reviewed: December 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |