Microsoft KB Archive/139557

= BUG: Extended Stored Proc Call May Generate a Thread AV =

Article ID: 139557

Article Last Modified on 4/21/1999

-

APPLIES TO


 * Microsoft SQL Server 4.21a Standard Edition

-



This article was previously published under Q139557



BUG# NT: 11515 (4.21a.SP4)



SYMPTOMS
When you use an extended stored procedure to return data to an output parameter a thread access violation can occur.

The following query exposes the behavior:

declare @strData varchar(255) exec xp_echo "Test", @strData OUTPUT

The procedure xp_echo is the sample provided in the XP.DLL file.



WORKAROUND

 * 1) Stop SQL Server.
 * 2) Copy the SQLSERVR.EXE file from the SQL Server Service Pack 3 to the ..\SQL\BINN directory.
 * 3) Restart SQL Server.



STATUS
Microsoft has confirmed this to be a problem in Microsoft SQL Server version 4.21a Service Pack 4. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words: ODS sp4 servpack

Keywords: kbprogramming KB139557

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.