BUG: SELECT INTO from a View May Cause Extra Error MessagesLast reviewed: November 7, 1997Article ID: Q115924 |
The information in this article applies to:
- Microsoft SQL Server version 4.2a for OS/2 - Microsoft SQL Server version 4.2BUG# 817 (4.2)
SYMPTOMSA SELECT from a view with an INTO clause may cause an error indicating a type mismatch in the WHERE clause when one does not exist. This happens if the WHERE clause contains two consecutive comparisons of a given type followed by a third involving an implicit conversion. Possible messages would be:
Msg 206, Level 16 State 2 Operand type clash: int is incompatible with smalldatetime Msg 257, Level 16 State 1 Implicit conversion from datatype 'int' to 'char' is not allowed. Use the CONVERT function to run this query. WORKAROUNDCreate the target table and use an INSERT with a SELECT instead of a SELECT INTO.
STATUSMicrosoft has confirmed this to be a problem in SQL Server version 4.2a for OS/2 and Microsoft 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.
|
Additional query words: Windows NT
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |