Microsoft KB Archive/88180

{|
 * width="100%"|

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

BUG# OS/2: 1387 (4.2)

SYMPTOMS
A query of the form

select &quot;Yes&quot; where ((select title_id from titles where title like &quot;The Busy E%&quot;)     in (&quot;BU1032&quot;, &quot;abcd&quot;)) returns error 512, which says: Subquery returns more than one value. This is illegal when the subquery is used as an expression Actually, the subquery returns exactly one value, BU1032. The query works correctly if the IN list has just one member.

CAUSE
SQL Server incorrectly analyzes the boolean expression, believing that the subquery returns more than one value.

STATUS
Microsoft has confirmed this to be a problem in SQL Server version 4.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.