Microsoft KB Archive/88274

{|
 * width="100%"|

The information in this article applies to:
 * Microsoft SQL Server version 4.2 for OS/2

BUG# OS/2: 1403 (4.2)

SYMPTOMS
If dbid is a smallint, DB_NAME(dbid) returns the current database, rather than the database indicated by dbid. This happens only in version 4.2.

WORKAROUND
Use an int data type rather than a smallint.

STATUS
Microsoft has confirmed this to be a problem in SQL Server version 4.2 for OS/2. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
 * }

-

Last reviewed: April 28, 1997

© 1998 Microsoft Corporation. All rights reserved. Terms of Use.