The information in this article applies to:
BUG #: 18774 (SQLBUG_65) SYMPTOMSIf an application performs a "USE dbname" on a 6.5 database that is offline, no error occurs although the USE command fails. Message 5161, is returned to the client, but the USE command may appear successful because error 5161 has a severity level of 1. WORKAROUND
For a DB-Library application, use the function dbuse() to change the database context instead of directly running "USE databasename". The dbuse() function properly handles the case when a database is offline, and returns FAIL.
STATUSMicrosoft has confirmed this to be a problem in SQL Server version 6.5. MORE INFORMATION
In the SQL Server 6.5 Books Online, message 5161 is documented as a severity 16 error. Additional query words:
Keywords : SSrvProg SSrvTran_SQL kbSQLServ650bug |
Last Reviewed: August 12, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |