BUG: Current Database Not Correct After Use in Query WindowLast reviewed: April 30, 1997Article ID: Q121022 |
The information in this article applies to:
- Microsoft SQL Server version 4.2b for OS/2 - Microsoft SQL Server version 4.2BUG# 10141 (4.2)
SYMPTOMSDoing a use <databasename> in the query window will reset the database named in the current database list box. However, the prior database listed in the box is the one still active as the current database. Issuing a use command in a query window in Object Manager may cause the database listed in the current database list box to be incorrect. For example, if an sa whose default database is master connects with Object Manager, then opens a query window and issues the commands,
use pubs go select * from authors goand then closes the query window, the current database list box will indicate pubs is the current database. If the sa then clicks the objects button, the objects listed will be from the master database, not pubs.
WORKAROUNDSelect the correct database in the current database list box to reset the current database, then reclick the objects window.
STATUSMicrosoft has confirmed this to be a problem in Microsoft SQL Server version 4.2 and SQL Server version 4.2b for OS/2. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
Additional query words: Windows NT
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |