Microsoft KB Archive/223060

= FIX: T-SQL Shows Incorrect Parameters in Local Variables Window =

Article ID: 223060

Article Last Modified on 10/15/2002

-

APPLIES TO


 * Microsoft Visual Basic 6.0 Professional Edition
 * Microsoft Visual Basic 6.0 Enterprise Edition

-



This article was previously published under Q223060



SYMPTOMS
When using the Visual Basic T-SQL Debugger to debug SQL Server 7.0 stored procedures, you might see incorrect values for input parameters in the Local Variables window.



RESOLUTION
To resolve this problem, install Visual Studio 6.0 Service Pack 3 on the client (Visual Basic) computer. You do not need to install the updated T-SQL Debugger components on the server (SQL Server) computer.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

This bug was corrected in Visual Studio 6.0 Service Pack 3. For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:

194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed



Steps to Reproduce Behavior

 * 1) Open a new Visual Basic Standard Exe project. Form1 is created by default.
 * 2) Open the Data View window.
 * 3) Create a Data Link to a SQL Server 7.0 Pubs database.
 * 4) Open the Stored Procedures folder.
 * 5) Right-click the reptq3 stored procedure and select Debug.
 * 6) Populate the three parameters.
 * 7) Step into the stored procedure.

You'll see that all three parameters in the Local Variables window have the same value.

This problem only occurs with SQL Server 7.0.

Keywords: kbbug kbfix kbtsql kbvs600sp3fix KB223060

-

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

© Microsoft Corporation. All rights reserved.